]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/gpio/gpio-langwell.c
gpio: remove use of __devexit
[mirror_ubuntu-zesty-kernel.git] / drivers / gpio / gpio-langwell.c
index 202a99207b7d40c1a0e98dbe728cb7f782704a0d..e77b2b3e94afb2406cac39cde06d19590d6225f7 100644 (file)
@@ -332,7 +332,7 @@ static const struct dev_pm_ops lnw_gpio_pm_ops = {
        .runtime_idle = lnw_gpio_runtime_idle,
 };
 
-static int __devinit lnw_gpio_probe(struct pci_dev *pdev,
+static int lnw_gpio_probe(struct pci_dev *pdev,
                        const struct pci_device_id *id)
 {
        void *base;
@@ -435,7 +435,7 @@ static struct pci_driver lnw_gpio_driver = {
 };
 
 
-static int __devinit wp_gpio_probe(struct platform_device *pdev)
+static int wp_gpio_probe(struct platform_device *pdev)
 {
        struct lnw_gpio *lnw;
        struct gpio_chip *gc;
@@ -484,7 +484,7 @@ err_kmalloc:
        return retval;
 }
 
-static int __devexit wp_gpio_remove(struct platform_device *pdev)
+static int wp_gpio_remove(struct platform_device *pdev)
 {
        struct lnw_gpio *lnw = platform_get_drvdata(pdev);
        int err;
@@ -499,7 +499,7 @@ static int __devexit wp_gpio_remove(struct platform_device *pdev)
 
 static struct platform_driver wp_gpio_driver = {
        .probe          = wp_gpio_probe,
-       .remove         = __devexit_p(wp_gpio_remove),
+       .remove         = wp_gpio_remove,
        .driver         = {
                .name   = "wp_gpio",
                .owner  = THIS_MODULE,