diff options
Diffstat (limited to 'drivers/media/radio/radio-timb.c')
-rw-r--r-- | drivers/media/radio/radio-timb.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/media/radio/radio-timb.c b/drivers/media/radio/radio-timb.c index 3e9209f84e09..5d9a90ac3a1c 100644 --- a/drivers/media/radio/radio-timb.c +++ b/drivers/media/radio/radio-timb.c | |||
@@ -226,20 +226,7 @@ static struct platform_driver timbradio_platform_driver = { | |||
226 | .remove = timbradio_remove, | 226 | .remove = timbradio_remove, |
227 | }; | 227 | }; |
228 | 228 | ||
229 | /*--------------------------------------------------------------------------*/ | 229 | module_platform_driver(timbradio_platform_driver); |
230 | |||
231 | static int __init timbradio_init(void) | ||
232 | { | ||
233 | return platform_driver_register(&timbradio_platform_driver); | ||
234 | } | ||
235 | |||
236 | static void __exit timbradio_exit(void) | ||
237 | { | ||
238 | platform_driver_unregister(&timbradio_platform_driver); | ||
239 | } | ||
240 | |||
241 | module_init(timbradio_init); | ||
242 | module_exit(timbradio_exit); | ||
243 | 230 | ||
244 | MODULE_DESCRIPTION("Timberdale Radio driver"); | 231 | MODULE_DESCRIPTION("Timberdale Radio driver"); |
245 | MODULE_AUTHOR("Mocean Laboratories <info@mocean-labs.com>"); | 232 | MODULE_AUTHOR("Mocean Laboratories <info@mocean-labs.com>"); |