]> Pileus Git - ~andy/linux/blobdiff - drivers/input/keyboard/omap-keypad.c
Input: tca8418_keypad - use dev_get_platdata() to retrieve platform data
[~andy/linux] / drivers / input / keyboard / omap-keypad.c
index 4a5fcc8026f5630670f03cfdde498721eb55d97c..d0d5226d9cd4981398997d60db6b01949bc0030a 100644 (file)
@@ -244,7 +244,7 @@ static int omap_kp_resume(struct platform_device *dev)
 #define omap_kp_resume NULL
 #endif
 
-static int __devinit omap_kp_probe(struct platform_device *pdev)
+static int omap_kp_probe(struct platform_device *pdev)
 {
        struct omap_kp *omap_kp;
        struct input_dev *input_dev;
@@ -357,7 +357,7 @@ err2:
        return -EINVAL;
 }
 
-static int __devexit omap_kp_remove(struct platform_device *pdev)
+static int omap_kp_remove(struct platform_device *pdev)
 {
        struct omap_kp *omap_kp = platform_get_drvdata(pdev);
 
@@ -379,7 +379,7 @@ static int __devexit omap_kp_remove(struct platform_device *pdev)
 
 static struct platform_driver omap_kp_driver = {
        .probe          = omap_kp_probe,
-       .remove         = __devexit_p(omap_kp_remove),
+       .remove         = omap_kp_remove,
        .suspend        = omap_kp_suspend,
        .resume         = omap_kp_resume,
        .driver         = {