diff options
Diffstat (limited to 'drivers/input/touchscreen/mcs5000_ts.c')
-rw-r--r-- | drivers/input/touchscreen/mcs5000_ts.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/touchscreen/mcs5000_ts.c b/drivers/input/touchscreen/mcs5000_ts.c index 2d84c80ceb66..b528511861ce 100644 --- a/drivers/input/touchscreen/mcs5000_ts.c +++ b/drivers/input/touchscreen/mcs5000_ts.c | |||
@@ -302,18 +302,7 @@ static struct i2c_driver mcs5000_ts_driver = { | |||
302 | .id_table = mcs5000_ts_id, | 302 | .id_table = mcs5000_ts_id, |
303 | }; | 303 | }; |
304 | 304 | ||
305 | static int __init mcs5000_ts_init(void) | 305 | module_i2c_driver(mcs5000_ts_driver); |
306 | { | ||
307 | return i2c_add_driver(&mcs5000_ts_driver); | ||
308 | } | ||
309 | |||
310 | static void __exit mcs5000_ts_exit(void) | ||
311 | { | ||
312 | i2c_del_driver(&mcs5000_ts_driver); | ||
313 | } | ||
314 | |||
315 | module_init(mcs5000_ts_init); | ||
316 | module_exit(mcs5000_ts_exit); | ||
317 | 306 | ||
318 | /* Module information */ | 307 | /* Module information */ |
319 | MODULE_AUTHOR("Joonyoung Shim <jy0922.shim@samsung.com>"); | 308 | MODULE_AUTHOR("Joonyoung Shim <jy0922.shim@samsung.com>"); |