diff options
Diffstat (limited to 'drivers/input/misc/twl4030-vibra.c')
-rw-r--r-- | drivers/input/misc/twl4030-vibra.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/input/misc/twl4030-vibra.c b/drivers/input/misc/twl4030-vibra.c index 3c1a432c14dc..37651373a95b 100644 --- a/drivers/input/misc/twl4030-vibra.c +++ b/drivers/input/misc/twl4030-vibra.c | |||
@@ -278,21 +278,9 @@ static struct platform_driver twl4030_vibra_driver = { | |||
278 | #endif | 278 | #endif |
279 | }, | 279 | }, |
280 | }; | 280 | }; |
281 | 281 | module_platform_driver(twl4030_vibra_driver); | |
282 | static int __init twl4030_vibra_init(void) | ||
283 | { | ||
284 | return platform_driver_register(&twl4030_vibra_driver); | ||
285 | } | ||
286 | module_init(twl4030_vibra_init); | ||
287 | |||
288 | static void __exit twl4030_vibra_exit(void) | ||
289 | { | ||
290 | platform_driver_unregister(&twl4030_vibra_driver); | ||
291 | } | ||
292 | module_exit(twl4030_vibra_exit); | ||
293 | 282 | ||
294 | MODULE_ALIAS("platform:twl4030-vibra"); | 283 | MODULE_ALIAS("platform:twl4030-vibra"); |
295 | |||
296 | MODULE_DESCRIPTION("TWL4030 Vibra driver"); | 284 | MODULE_DESCRIPTION("TWL4030 Vibra driver"); |
297 | MODULE_LICENSE("GPL"); | 285 | MODULE_LICENSE("GPL"); |
298 | MODULE_AUTHOR("Nokia Corporation"); | 286 | MODULE_AUTHOR("Nokia Corporation"); |