diff options
Diffstat (limited to 'drivers/input/misc/pcap_keys.c')
-rw-r--r-- | drivers/input/misc/pcap_keys.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/input/misc/pcap_keys.c b/drivers/input/misc/pcap_keys.c index 99335c286250..e09b4fe81913 100644 --- a/drivers/input/misc/pcap_keys.c +++ b/drivers/input/misc/pcap_keys.c | |||
@@ -125,19 +125,7 @@ static struct platform_driver pcap_keys_device_driver = { | |||
125 | .owner = THIS_MODULE, | 125 | .owner = THIS_MODULE, |
126 | } | 126 | } |
127 | }; | 127 | }; |
128 | 128 | module_platform_driver(pcap_keys_device_driver); | |
129 | static int __init pcap_keys_init(void) | ||
130 | { | ||
131 | return platform_driver_register(&pcap_keys_device_driver); | ||
132 | }; | ||
133 | |||
134 | static void __exit pcap_keys_exit(void) | ||
135 | { | ||
136 | platform_driver_unregister(&pcap_keys_device_driver); | ||
137 | }; | ||
138 | |||
139 | module_init(pcap_keys_init); | ||
140 | module_exit(pcap_keys_exit); | ||
141 | 129 | ||
142 | MODULE_DESCRIPTION("Motorola PCAP2 input events driver"); | 130 | MODULE_DESCRIPTION("Motorola PCAP2 input events driver"); |
143 | MODULE_AUTHOR("Ilya Petrov <ilya.muromec@gmail.com>"); | 131 | MODULE_AUTHOR("Ilya Petrov <ilya.muromec@gmail.com>"); |