Input: remove use of __devexit
[linux-2.6-block.git] / drivers / input / misc / ab8500-ponkey.c
index 84ec691c05aa983751492a8dff29c5ca87b27ad2..2f090b46e71646e1635e54264e4fb5ad54933e0f 100644 (file)
@@ -45,7 +45,7 @@ static irqreturn_t ab8500_ponkey_handler(int irq, void *data)
        return IRQ_HANDLED;
 }
 
-static int __devinit ab8500_ponkey_probe(struct platform_device *pdev)
+static int ab8500_ponkey_probe(struct platform_device *pdev)
 {
        struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent);
        struct ab8500_ponkey *ponkey;
@@ -118,7 +118,7 @@ err_free_mem:
        return error;
 }
 
-static int __devexit ab8500_ponkey_remove(struct platform_device *pdev)
+static int ab8500_ponkey_remove(struct platform_device *pdev)
 {
        struct ab8500_ponkey *ponkey = platform_get_drvdata(pdev);
 
@@ -146,7 +146,7 @@ static struct platform_driver ab8500_ponkey_driver = {
                .of_match_table = of_match_ptr(ab8500_ponkey_match),
        },
        .probe          = ab8500_ponkey_probe,
-       .remove         = __devexit_p(ab8500_ponkey_remove),
+       .remove         = ab8500_ponkey_remove,
 };
 module_platform_driver(ab8500_ponkey_driver);