diff options
Diffstat (limited to 'drivers/media/radio/radio-tea5764.c')
-rw-r--r-- | drivers/media/radio/radio-tea5764.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/drivers/media/radio/radio-tea5764.c b/drivers/media/radio/radio-tea5764.c index db20904d01f0..6b1fae32b483 100644 --- a/drivers/media/radio/radio-tea5764.c +++ b/drivers/media/radio/radio-tea5764.c | |||
@@ -575,21 +575,7 @@ static struct i2c_driver tea5764_i2c_driver = { | |||
575 | .id_table = tea5764_id, | 575 | .id_table = tea5764_id, |
576 | }; | 576 | }; |
577 | 577 | ||
578 | /* init the driver */ | 578 | module_i2c_driver(tea5764_i2c_driver); |
579 | static int __init tea5764_init(void) | ||
580 | { | ||
581 | int ret = i2c_add_driver(&tea5764_i2c_driver); | ||
582 | |||
583 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ": " | ||
584 | DRIVER_DESC "\n"); | ||
585 | return ret; | ||
586 | } | ||
587 | |||
588 | /* cleanup the driver */ | ||
589 | static void __exit tea5764_exit(void) | ||
590 | { | ||
591 | i2c_del_driver(&tea5764_i2c_driver); | ||
592 | } | ||
593 | 579 | ||
594 | MODULE_AUTHOR(DRIVER_AUTHOR); | 580 | MODULE_AUTHOR(DRIVER_AUTHOR); |
595 | MODULE_DESCRIPTION(DRIVER_DESC); | 581 | MODULE_DESCRIPTION(DRIVER_DESC); |
@@ -600,6 +586,3 @@ module_param(use_xtal, int, 0); | |||
600 | MODULE_PARM_DESC(use_xtal, "Chip have a xtal connected in board"); | 586 | MODULE_PARM_DESC(use_xtal, "Chip have a xtal connected in board"); |
601 | module_param(radio_nr, int, 0); | 587 | module_param(radio_nr, int, 0); |
602 | MODULE_PARM_DESC(radio_nr, "video4linux device number to use"); | 588 | MODULE_PARM_DESC(radio_nr, "video4linux device number to use"); |
603 | |||
604 | module_init(tea5764_init); | ||
605 | module_exit(tea5764_exit); | ||