diff options
Diffstat (limited to 'drivers/input/keyboard/pmic8xxx-keypad.c')
-rw-r--r-- | drivers/input/keyboard/pmic8xxx-keypad.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/keyboard/pmic8xxx-keypad.c b/drivers/input/keyboard/pmic8xxx-keypad.c index e7cc51d0fb34..01a1c9f8a383 100644 --- a/drivers/input/keyboard/pmic8xxx-keypad.c +++ b/drivers/input/keyboard/pmic8xxx-keypad.c | |||
@@ -780,18 +780,7 @@ static struct platform_driver pmic8xxx_kp_driver = { | |||
780 | .pm = &pm8xxx_kp_pm_ops, | 780 | .pm = &pm8xxx_kp_pm_ops, |
781 | }, | 781 | }, |
782 | }; | 782 | }; |
783 | 783 | module_platform_driver(pmic8xxx_kp_driver); | |
784 | static int __init pmic8xxx_kp_init(void) | ||
785 | { | ||
786 | return platform_driver_register(&pmic8xxx_kp_driver); | ||
787 | } | ||
788 | module_init(pmic8xxx_kp_init); | ||
789 | |||
790 | static void __exit pmic8xxx_kp_exit(void) | ||
791 | { | ||
792 | platform_driver_unregister(&pmic8xxx_kp_driver); | ||
793 | } | ||
794 | module_exit(pmic8xxx_kp_exit); | ||
795 | 784 | ||
796 | MODULE_LICENSE("GPL v2"); | 785 | MODULE_LICENSE("GPL v2"); |
797 | MODULE_DESCRIPTION("PMIC8XXX keypad driver"); | 786 | MODULE_DESCRIPTION("PMIC8XXX keypad driver"); |