diff options
Diffstat (limited to 'drivers/input/serio/rpckbd.c')
-rw-r--r-- | drivers/input/serio/rpckbd.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/input/serio/rpckbd.c b/drivers/input/serio/rpckbd.c index 7ec3c97dc1b9..8b44ddc8041c 100644 --- a/drivers/input/serio/rpckbd.c +++ b/drivers/input/serio/rpckbd.c | |||
@@ -143,16 +143,4 @@ static struct platform_driver rpckbd_driver = { | |||
143 | .owner = THIS_MODULE, | 143 | .owner = THIS_MODULE, |
144 | }, | 144 | }, |
145 | }; | 145 | }; |
146 | 146 | module_platform_driver(rpckbd_driver); | |
147 | static int __init rpckbd_init(void) | ||
148 | { | ||
149 | return platform_driver_register(&rpckbd_driver); | ||
150 | } | ||
151 | |||
152 | static void __exit rpckbd_exit(void) | ||
153 | { | ||
154 | platform_driver_unregister(&rpckbd_driver); | ||
155 | } | ||
156 | |||
157 | module_init(rpckbd_init); | ||
158 | module_exit(rpckbd_exit); | ||