diff options
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/touchscreen/atmel-wm97xx.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/input/touchscreen/atmel-wm97xx.c b/drivers/input/touchscreen/atmel-wm97xx.c index c5c2dbb93869..2c1e46b7e45b 100644 --- a/drivers/input/touchscreen/atmel-wm97xx.c +++ b/drivers/input/touchscreen/atmel-wm97xx.c | |||
@@ -432,17 +432,7 @@ static struct platform_driver atmel_wm97xx_driver = { | |||
432 | }, | 432 | }, |
433 | }; | 433 | }; |
434 | 434 | ||
435 | static int __init atmel_wm97xx_init(void) | 435 | module_platform_driver_probe(atmel_wm97xx_driver, atmel_wm97xx_probe); |
436 | { | ||
437 | return platform_driver_probe(&atmel_wm97xx_driver, atmel_wm97xx_probe); | ||
438 | } | ||
439 | module_init(atmel_wm97xx_init); | ||
440 | |||
441 | static void __exit atmel_wm97xx_exit(void) | ||
442 | { | ||
443 | platform_driver_unregister(&atmel_wm97xx_driver); | ||
444 | } | ||
445 | module_exit(atmel_wm97xx_exit); | ||
446 | 436 | ||
447 | MODULE_AUTHOR("Hans-Christian Egtvedt <egtvedt@samfundet.no>"); | 437 | MODULE_AUTHOR("Hans-Christian Egtvedt <egtvedt@samfundet.no>"); |
448 | MODULE_DESCRIPTION("wm97xx continuous touch driver for Atmel AT91 and AVR32"); | 438 | MODULE_DESCRIPTION("wm97xx continuous touch driver for Atmel AT91 and AVR32"); |