]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/input/keyboard/ep93xx_keypad.c
Merge branch 'fixes' of git://git.linaro.org/people/rmk/linux-arm
[karo-tx-linux.git] / drivers / input / keyboard / ep93xx_keypad.c
index 4662c5da801890f63179203029bc9acc241f8314..0ba69f3fcb52b8ca3d47ce3516be6b2f6bbbf167 100644 (file)
@@ -390,19 +390,7 @@ static struct platform_driver ep93xx_keypad_driver = {
        .suspend        = ep93xx_keypad_suspend,
        .resume         = ep93xx_keypad_resume,
 };
-
-static int __init ep93xx_keypad_init(void)
-{
-       return platform_driver_register(&ep93xx_keypad_driver);
-}
-
-static void __exit ep93xx_keypad_exit(void)
-{
-       platform_driver_unregister(&ep93xx_keypad_driver);
-}
-
-module_init(ep93xx_keypad_init);
-module_exit(ep93xx_keypad_exit);
+module_platform_driver(ep93xx_keypad_driver);
 
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("H Hartley Sweeten <hsweeten@visionengravers.com>");