aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/egalax_ts.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/touchscreen/egalax_ts.c')
-rw-r--r--drivers/input/touchscreen/egalax_ts.c13
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
288static int __init egalax_ts_init(void) 288module_i2c_driver(egalax_ts_driver);
289{
290 return i2c_add_driver(&egalax_ts_driver);
291}
292
293static void __exit egalax_ts_exit(void)
294{
295 i2c_del_driver(&egalax_ts_driver);
296}
297
298module_init(egalax_ts_init);
299module_exit(egalax_ts_exit);
300 289
301MODULE_AUTHOR("Freescale Semiconductor, Inc."); 290MODULE_AUTHOR("Freescale Semiconductor, Inc.");
302MODULE_DESCRIPTION("Touchscreen driver for EETI eGalax touch controller"); 291MODULE_DESCRIPTION("Touchscreen driver for EETI eGalax touch controller");