diff options
Diffstat (limited to 'drivers/input/touchscreen/wm831x-ts.c')
-rw-r--r-- | drivers/input/touchscreen/wm831x-ts.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/touchscreen/wm831x-ts.c b/drivers/input/touchscreen/wm831x-ts.c index 9175d49d2546..4bc851a9dc3d 100644 --- a/drivers/input/touchscreen/wm831x-ts.c +++ b/drivers/input/touchscreen/wm831x-ts.c | |||
@@ -401,18 +401,7 @@ static struct platform_driver wm831x_ts_driver = { | |||
401 | .probe = wm831x_ts_probe, | 401 | .probe = wm831x_ts_probe, |
402 | .remove = __devexit_p(wm831x_ts_remove), | 402 | .remove = __devexit_p(wm831x_ts_remove), |
403 | }; | 403 | }; |
404 | 404 | module_platform_driver(wm831x_ts_driver); | |
405 | static int __init wm831x_ts_init(void) | ||
406 | { | ||
407 | return platform_driver_register(&wm831x_ts_driver); | ||
408 | } | ||
409 | module_init(wm831x_ts_init); | ||
410 | |||
411 | static void __exit wm831x_ts_exit(void) | ||
412 | { | ||
413 | platform_driver_unregister(&wm831x_ts_driver); | ||
414 | } | ||
415 | module_exit(wm831x_ts_exit); | ||
416 | 405 | ||
417 | /* Module information */ | 406 | /* Module information */ |
418 | MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>"); | 407 | MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>"); |