summaryrefslogtreecommitdiffstats
path: root/drivers/input/imx_keypad.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/imx_keypad.c')
-rw-r--r--drivers/input/imx_keypad.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/input/imx_keypad.c b/drivers/input/imx_keypad.c
index f6c3b1b8bb..2ee3d0fa00 100644
--- a/drivers/input/imx_keypad.c
+++ b/drivers/input/imx_keypad.c
@@ -454,10 +454,4 @@ static struct driver_d imx_keypad_driver = {
.name = "imx-kpp",
.probe = imx_keypad_probe,
};
-
-static int imx_keypad_init(void)
-{
- platform_driver_register(&imx_keypad_driver);
- return 0;
-}
-device_initcall(imx_keypad_init);
+device_platform_driver(imx_keypad_driver);