diff options
Diffstat (limited to 'drivers/input/keyboard/hil_kbd.c')
-rw-r--r-- | drivers/input/keyboard/hil_kbd.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/keyboard/hil_kbd.c b/drivers/input/keyboard/hil_kbd.c index fed31e0947a1..589e3c258f3f 100644 --- a/drivers/input/keyboard/hil_kbd.c +++ b/drivers/input/keyboard/hil_kbd.c | |||
@@ -583,15 +583,4 @@ static struct serio_driver hil_serio_drv = { | |||
583 | .interrupt = hil_dev_interrupt | 583 | .interrupt = hil_dev_interrupt |
584 | }; | 584 | }; |
585 | 585 | ||
586 | static int __init hil_dev_init(void) | 586 | module_serio_driver(hil_serio_drv); |
587 | { | ||
588 | return serio_register_driver(&hil_serio_drv); | ||
589 | } | ||
590 | |||
591 | static void __exit hil_dev_exit(void) | ||
592 | { | ||
593 | serio_unregister_driver(&hil_serio_drv); | ||
594 | } | ||
595 | |||
596 | module_init(hil_dev_init); | ||
597 | module_exit(hil_dev_exit); | ||