gpio: remove use of __devexit
[deliverable/linux.git] / drivers / gpio / gpio-ab8500.c
index 050c05d91896b638df5072aec10c0f1e69f9bda7..983ad425f0acf45ecf9878147c3840a789004a4e 100644 (file)
@@ -402,7 +402,7 @@ static void ab8500_gpio_irq_remove(struct ab8500_gpio *ab8500_gpio)
        }
 }
 
-static int __devinit ab8500_gpio_probe(struct platform_device *pdev)
+static int ab8500_gpio_probe(struct platform_device *pdev)
 {
        struct ab8500_platform_data *ab8500_pdata =
                                dev_get_platdata(pdev->dev.parent);
@@ -474,7 +474,7 @@ out_free:
  * ab8500_gpio_remove() - remove Ab8500-gpio driver
  * @pdev :     Platform device registered
  */
-static int __devexit ab8500_gpio_remove(struct platform_device *pdev)
+static int ab8500_gpio_remove(struct platform_device *pdev)
 {
        struct ab8500_gpio *ab8500_gpio = platform_get_drvdata(pdev);
        int ret;
@@ -499,7 +499,7 @@ static struct platform_driver ab8500_gpio_driver = {
                .owner = THIS_MODULE,
        },
        .probe = ab8500_gpio_probe,
-       .remove = __devexit_p(ab8500_gpio_remove),
+       .remove = ab8500_gpio_remove,
 };
 
 static int __init ab8500_gpio_init(void)
This page took 0.037235 seconds and 5 git commands to generate.