diff options
Diffstat (limited to 'drivers/input/touchscreen/egalax_ts.c')
-rw-r--r-- | drivers/input/touchscreen/egalax_ts.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c index eadcc2e83c77..70524dd34f42 100644 --- a/drivers/input/touchscreen/egalax_ts.c +++ b/drivers/input/touchscreen/egalax_ts.c | |||
@@ -285,18 +285,7 @@ static struct i2c_driver egalax_ts_driver = { | |||
285 | .remove = __devexit_p(egalax_ts_remove), | 285 | .remove = __devexit_p(egalax_ts_remove), |
286 | }; | 286 | }; |
287 | 287 | ||
288 | static int __init egalax_ts_init(void) | 288 | module_i2c_driver(egalax_ts_driver); |
289 | { | ||
290 | return i2c_add_driver(&egalax_ts_driver); | ||
291 | } | ||
292 | |||
293 | static void __exit egalax_ts_exit(void) | ||
294 | { | ||
295 | i2c_del_driver(&egalax_ts_driver); | ||
296 | } | ||
297 | |||
298 | module_init(egalax_ts_init); | ||
299 | module_exit(egalax_ts_exit); | ||
300 | 289 | ||
301 | MODULE_AUTHOR("Freescale Semiconductor, Inc."); | 290 | MODULE_AUTHOR("Freescale Semiconductor, Inc."); |
302 | MODULE_DESCRIPTION("Touchscreen driver for EETI eGalax touch controller"); | 291 | MODULE_DESCRIPTION("Touchscreen driver for EETI eGalax touch controller"); |