aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/tsc2007.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/touchscreen/tsc2007.c')
-rw-r--r--drivers/input/touchscreen/tsc2007.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/touchscreen/tsc2007.c b/drivers/input/touchscreen/tsc2007.c
index 1f674cb6c55b..1473d2382afd 100644
--- a/drivers/input/touchscreen/tsc2007.c
+++ b/drivers/input/touchscreen/tsc2007.c
@@ -399,18 +399,7 @@ static struct i2c_driver tsc2007_driver = {
399 .remove = __devexit_p(tsc2007_remove), 399 .remove = __devexit_p(tsc2007_remove),
400}; 400};
401 401
402static int __init tsc2007_init(void) 402module_i2c_driver(tsc2007_driver);
403{
404 return i2c_add_driver(&tsc2007_driver);
405}
406
407static void __exit tsc2007_exit(void)
408{
409 i2c_del_driver(&tsc2007_driver);
410}
411
412module_init(tsc2007_init);
413module_exit(tsc2007_exit);
414 403
415MODULE_AUTHOR("Kwangwoo Lee <kwlee@mtekvision.com>"); 404MODULE_AUTHOR("Kwangwoo Lee <kwlee@mtekvision.com>");
416MODULE_DESCRIPTION("TSC2007 TouchScreen Driver"); 405MODULE_DESCRIPTION("TSC2007 TouchScreen Driver");