diff options
Diffstat (limited to 'drivers/input/touchscreen/eeti_ts.c')
-rw-r--r-- | drivers/input/touchscreen/eeti_ts.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/input/touchscreen/eeti_ts.c b/drivers/input/touchscreen/eeti_ts.c index 1df19bb8534a..503c7096ed36 100644 --- a/drivers/input/touchscreen/eeti_ts.c +++ b/drivers/input/touchscreen/eeti_ts.c | |||
@@ -320,20 +320,8 @@ static struct i2c_driver eeti_ts_driver = { | |||
320 | .id_table = eeti_ts_id, | 320 | .id_table = eeti_ts_id, |
321 | }; | 321 | }; |
322 | 322 | ||
323 | static int __init eeti_ts_init(void) | 323 | module_i2c_driver(eeti_ts_driver); |
324 | { | ||
325 | return i2c_add_driver(&eeti_ts_driver); | ||
326 | } | ||
327 | |||
328 | static void __exit eeti_ts_exit(void) | ||
329 | { | ||
330 | i2c_del_driver(&eeti_ts_driver); | ||
331 | } | ||
332 | 324 | ||
333 | MODULE_DESCRIPTION("EETI Touchscreen driver"); | 325 | MODULE_DESCRIPTION("EETI Touchscreen driver"); |
334 | MODULE_AUTHOR("Daniel Mack <daniel@caiaq.de>"); | 326 | MODULE_AUTHOR("Daniel Mack <daniel@caiaq.de>"); |
335 | MODULE_LICENSE("GPL"); | 327 | MODULE_LICENSE("GPL"); |
336 | |||
337 | module_init(eeti_ts_init); | ||
338 | module_exit(eeti_ts_exit); | ||
339 | |||