diff options
Diffstat (limited to 'drivers/input/touchscreen/tsc40.c')
-rw-r--r-- | drivers/input/touchscreen/tsc40.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/input/touchscreen/tsc40.c b/drivers/input/touchscreen/tsc40.c index 29d5ed4dd31c..63209aaa55f0 100644 --- a/drivers/input/touchscreen/tsc40.c +++ b/drivers/input/touchscreen/tsc40.c | |||
@@ -167,17 +167,7 @@ static struct serio_driver tsc_drv = { | |||
167 | .disconnect = tsc_disconnect, | 167 | .disconnect = tsc_disconnect, |
168 | }; | 168 | }; |
169 | 169 | ||
170 | static int __init tsc_ser_init(void) | 170 | module_serio_driver(tsc_drv); |
171 | { | ||
172 | return serio_register_driver(&tsc_drv); | ||
173 | } | ||
174 | module_init(tsc_ser_init); | ||
175 | |||
176 | static void __exit tsc_exit(void) | ||
177 | { | ||
178 | serio_unregister_driver(&tsc_drv); | ||
179 | } | ||
180 | module_exit(tsc_exit); | ||
181 | 171 | ||
182 | MODULE_AUTHOR("Sebastian Andrzej Siewior <bigeasy@linutronix.de>"); | 172 | MODULE_AUTHOR("Sebastian Andrzej Siewior <bigeasy@linutronix.de>"); |
183 | MODULE_DESCRIPTION(DRIVER_DESC); | 173 | MODULE_DESCRIPTION(DRIVER_DESC); |