aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/adp5520-keys.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/keyboard/adp5520-keys.c')
-rw-r--r--drivers/input/keyboard/adp5520-keys.c13
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 205module_platform_driver(adp5520_keys_driver);
206static int __init adp5520_keys_init(void)
207{
208 return platform_driver_register(&adp5520_keys_driver);
209}
210module_init(adp5520_keys_init);
211
212static void __exit adp5520_keys_exit(void)
213{
214 platform_driver_unregister(&adp5520_keys_driver);
215}
216module_exit(adp5520_keys_exit);
217 206
218MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>"); 207MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>");
219MODULE_DESCRIPTION("Keys ADP5520 Driver"); 208MODULE_DESCRIPTION("Keys ADP5520 Driver");