diff options
Diffstat (limited to 'drivers/input/keyboard/adp5520-keys.c')
-rw-r--r-- | drivers/input/keyboard/adp5520-keys.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/keyboard/adp5520-keys.c b/drivers/input/keyboard/adp5520-keys.c index 3db8006dac3a..e9e8674dfda1 100644 --- a/drivers/input/keyboard/adp5520-keys.c +++ b/drivers/input/keyboard/adp5520-keys.c | |||
@@ -202,18 +202,7 @@ static struct platform_driver adp5520_keys_driver = { | |||
202 | .probe = adp5520_keys_probe, | 202 | .probe = adp5520_keys_probe, |
203 | .remove = __devexit_p(adp5520_keys_remove), | 203 | .remove = __devexit_p(adp5520_keys_remove), |
204 | }; | 204 | }; |
205 | 205 | module_platform_driver(adp5520_keys_driver); | |
206 | static int __init adp5520_keys_init(void) | ||
207 | { | ||
208 | return platform_driver_register(&adp5520_keys_driver); | ||
209 | } | ||
210 | module_init(adp5520_keys_init); | ||
211 | |||
212 | static void __exit adp5520_keys_exit(void) | ||
213 | { | ||
214 | platform_driver_unregister(&adp5520_keys_driver); | ||
215 | } | ||
216 | module_exit(adp5520_keys_exit); | ||
217 | 206 | ||
218 | MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>"); | 207 | MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>"); |
219 | MODULE_DESCRIPTION("Keys ADP5520 Driver"); | 208 | MODULE_DESCRIPTION("Keys ADP5520 Driver"); |