diff options
Diffstat (limited to 'drivers/input/touchscreen/w90p910_ts.c')
| -rw-r--r-- | drivers/input/touchscreen/w90p910_ts.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/input/touchscreen/w90p910_ts.c b/drivers/input/touchscreen/w90p910_ts.c index 217aa51135c5..9396b21d0e8f 100644 --- a/drivers/input/touchscreen/w90p910_ts.c +++ b/drivers/input/touchscreen/w90p910_ts.c | |||
| @@ -331,19 +331,7 @@ static struct platform_driver w90x900ts_driver = { | |||
| 331 | .owner = THIS_MODULE, | 331 | .owner = THIS_MODULE, |
| 332 | }, | 332 | }, |
| 333 | }; | 333 | }; |
| 334 | 334 | module_platform_driver(w90x900ts_driver); | |
| 335 | static int __init w90x900ts_init(void) | ||
| 336 | { | ||
| 337 | return platform_driver_register(&w90x900ts_driver); | ||
| 338 | } | ||
| 339 | |||
| 340 | static void __exit w90x900ts_exit(void) | ||
| 341 | { | ||
| 342 | platform_driver_unregister(&w90x900ts_driver); | ||
| 343 | } | ||
| 344 | |||
| 345 | module_init(w90x900ts_init); | ||
| 346 | module_exit(w90x900ts_exit); | ||
| 347 | 335 | ||
| 348 | MODULE_AUTHOR("Wan ZongShun <mcuos.com@gmail.com>"); | 336 | MODULE_AUTHOR("Wan ZongShun <mcuos.com@gmail.com>"); |
| 349 | MODULE_DESCRIPTION("w90p910 touch screen driver!"); | 337 | MODULE_DESCRIPTION("w90p910 touch screen driver!"); |
