gpio: remove use of __devexit_p
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:20:08 +0000 (13:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 19:36:36 +0000 (11:36 -0800)
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Peter Tyser <ptyser@xes-inc.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
35 files changed:
drivers/gpio/gpio-74x164.c
drivers/gpio/gpio-ab8500.c
drivers/gpio/gpio-adnp.c
drivers/gpio/gpio-adp5520.c
drivers/gpio/gpio-adp5588.c
drivers/gpio/gpio-arizona.c
drivers/gpio/gpio-cs5535.c
drivers/gpio/gpio-da9052.c
drivers/gpio/gpio-em.c
drivers/gpio/gpio-generic.c
drivers/gpio/gpio-ich.c
drivers/gpio/gpio-janz-ttl.c
drivers/gpio/gpio-langwell.c
drivers/gpio/gpio-max7300.c
drivers/gpio/gpio-max7301.c
drivers/gpio/gpio-max732x.c
drivers/gpio/gpio-mc33880.c
drivers/gpio/gpio-mcp23s08.c
drivers/gpio/gpio-ml-ioh.c
drivers/gpio/gpio-msm-v2.c
drivers/gpio/gpio-pch.c
drivers/gpio/gpio-rc5t583.c
drivers/gpio/gpio-rdc321x.c
drivers/gpio/gpio-sch.c
drivers/gpio/gpio-stmpe.c
drivers/gpio/gpio-sx150x.c
drivers/gpio/gpio-tc3589x.c
drivers/gpio/gpio-tps6586x.c
drivers/gpio/gpio-tps65910.c
drivers/gpio/gpio-tps65912.c
drivers/gpio/gpio-vr41xx.c
drivers/gpio/gpio-vx855.c
drivers/gpio/gpio-wm831x.c
drivers/gpio/gpio-wm8350.c
drivers/gpio/gpio-wm8994.c

index f05e542..ee1cb30 100644 (file)
@@ -215,7 +215,7 @@ static struct spi_driver gen_74x164_driver = {
                .of_match_table = of_match_ptr(gen_74x164_dt_ids),
        },
        .probe          = gen_74x164_probe,
-       .remove         = __devexit_p(gen_74x164_remove),
+       .remove         = gen_74x164_remove,
 };
 module_spi_driver(gen_74x164_driver);
 
index 050c05d..48c3bab 100644 (file)
@@ -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)
index 3df8833..9796b9c 100644 (file)
@@ -601,7 +601,7 @@ static struct i2c_driver adnp_i2c_driver = {
                .of_match_table = of_match_ptr(adnp_of_match),
        },
        .probe = adnp_i2c_probe,
-       .remove = __devexit_p(adnp_i2c_remove),
+       .remove = adnp_i2c_remove,
        .id_table = adnp_i2c_id,
 };
 module_i2c_driver(adnp_i2c_driver);
index 2f263cc..fc01e6d 100644 (file)
@@ -190,7 +190,7 @@ static struct platform_driver adp5520_gpio_driver = {
                .owner  = THIS_MODULE,
        },
        .probe          = adp5520_gpio_probe,
-       .remove         = __devexit_p(adp5520_gpio_remove),
+       .remove         = adp5520_gpio_remove,
 };
 
 module_platform_driver(adp5520_gpio_driver);
index eeedad4..f762269 100644 (file)
@@ -479,7 +479,7 @@ static struct i2c_driver adp5588_gpio_driver = {
                   .name = DRV_NAME,
                   },
        .probe = adp5588_gpio_probe,
-       .remove = __devexit_p(adp5588_gpio_remove),
+       .remove = adp5588_gpio_remove,
        .id_table = adp5588_gpio_id,
 };
 
index 8740d2e..a406573 100644 (file)
@@ -152,7 +152,7 @@ static struct platform_driver arizona_gpio_driver = {
        .driver.name    = "arizona-gpio",
        .driver.owner   = THIS_MODULE,
        .probe          = arizona_gpio_probe,
-       .remove         = __devexit_p(arizona_gpio_remove),
+       .remove         = arizona_gpio_remove,
 };
 
 module_platform_driver(arizona_gpio_driver);
index 19eda1b..00f98f9 100644 (file)
@@ -378,7 +378,7 @@ static struct platform_driver cs5535_gpio_driver = {
                .owner = THIS_MODULE,
        },
        .probe = cs5535_gpio_probe,
-       .remove = __devexit_p(cs5535_gpio_remove),
+       .remove = cs5535_gpio_remove,
 };
 
 module_platform_driver(cs5535_gpio_driver);
index 24b8c29..9f5824d 100644 (file)
@@ -238,7 +238,7 @@ static int __devexit da9052_gpio_remove(struct platform_device *pdev)
 
 static struct platform_driver da9052_gpio_driver = {
        .probe = da9052_gpio_probe,
-       .remove = __devexit_p(da9052_gpio_remove),
+       .remove = da9052_gpio_remove,
        .driver = {
                .name   = "da9052-gpio",
                .owner  = THIS_MODULE,
index efb4c2d..e246165 100644 (file)
@@ -399,7 +399,7 @@ static int __devexit em_gio_remove(struct platform_device *pdev)
 
 static struct platform_driver em_gio_device_driver = {
        .probe          = em_gio_probe,
-       .remove         = __devexit_p(em_gio_remove),
+       .remove         = em_gio_remove,
        .driver         = {
                .name   = "em_gio",
        }
index 82e2e4f..983f0f2 100644 (file)
@@ -527,7 +527,7 @@ static struct platform_driver bgpio_driver = {
        },
        .id_table = bgpio_id_table,
        .probe = bgpio_pdev_probe,
-       .remove = __devexit_p(bgpio_pdev_remove),
+       .remove = bgpio_pdev_remove,
 };
 
 module_platform_driver(bgpio_driver);
index d4d6179..c230263 100644 (file)
@@ -467,7 +467,7 @@ static struct platform_driver ichx_gpio_driver = {
                .name   = DRV_NAME,
        },
        .probe          = ichx_gpio_probe,
-       .remove         = __devexit_p(ichx_gpio_remove),
+       .remove         = ichx_gpio_remove,
 };
 
 module_platform_driver(ichx_gpio_driver);
index f2f000d..365dd04 100644 (file)
@@ -234,7 +234,7 @@ static struct platform_driver ttl_driver = {
                .owner  = THIS_MODULE,
        },
        .probe          = ttl_probe,
-       .remove         = __devexit_p(ttl_remove),
+       .remove         = ttl_remove,
 };
 
 module_platform_driver(ttl_driver);
index 202a992..b815896 100644 (file)
@@ -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,
index a5ca0ab..869235f 100644 (file)
@@ -72,7 +72,7 @@ static struct i2c_driver max7300_driver = {
                .owner = THIS_MODULE,
        },
        .probe = max7300_probe,
-       .remove = __devexit_p(max7300_remove),
+       .remove = max7300_remove,
        .id_table = max7300_id,
 };
 
index 741acfc..31bf49d 100644 (file)
@@ -92,7 +92,7 @@ static struct spi_driver max7301_driver = {
                .owner = THIS_MODULE,
        },
        .probe = max7301_probe,
-       .remove = __devexit_p(max7301_remove),
+       .remove = max7301_remove,
        .id_table = max7301_id,
 };
 
index 9504120..67ef5ea 100644 (file)
@@ -690,7 +690,7 @@ static struct i2c_driver max732x_driver = {
                .owner  = THIS_MODULE,
        },
        .probe          = max732x_probe,
-       .remove         = __devexit_p(max732x_remove),
+       .remove         = max732x_remove,
        .id_table       = max732x_id,
 };
 
index 2de57ce..c6572e1 100644 (file)
@@ -175,7 +175,7 @@ static struct spi_driver mc33880_driver = {
                .owner          = THIS_MODULE,
        },
        .probe          = mc33880_probe,
-       .remove         = __devexit_p(mc33880_remove),
+       .remove         = mc33880_remove,
 };
 
 static int __init mc33880_init(void)
index 0f42518..47b6002 100644 (file)
@@ -533,7 +533,7 @@ static struct i2c_driver mcp230xx_driver = {
                .owner  = THIS_MODULE,
        },
        .probe          = mcp230xx_probe,
-       .remove         = __devexit_p(mcp230xx_remove),
+       .remove         = mcp230xx_remove,
        .id_table       = mcp230xx_id,
 };
 
index 6a29ee1..c824b5d 100644 (file)
@@ -606,7 +606,7 @@ static struct pci_driver ioh_gpio_driver = {
        .name = "ml_ioh_gpio",
        .id_table = ioh_gpio_pcidev_id,
        .probe = ioh_gpio_probe,
-       .remove = __devexit_p(ioh_gpio_remove),
+       .remove = ioh_gpio_remove,
        .suspend = ioh_gpio_suspend,
        .resume = ioh_gpio_resume
 };
index 38305be..26f5122 100644 (file)
@@ -390,7 +390,7 @@ static int __devexit msm_gpio_remove(struct platform_device *dev)
 
 static struct platform_driver msm_gpio_driver = {
        .probe = msm_gpio_probe,
-       .remove = __devexit_p(msm_gpio_remove),
+       .remove = msm_gpio_remove,
        .driver = {
                .name = "msmgpio",
                .owner = THIS_MODULE,
index 4ad0c4f..d693560 100644 (file)
@@ -531,7 +531,7 @@ static struct pci_driver pch_gpio_driver = {
        .name = "pch_gpio",
        .id_table = pch_gpio_pcidev_id,
        .probe = pch_gpio_probe,
-       .remove = __devexit_p(pch_gpio_remove),
+       .remove = pch_gpio_remove,
        .suspend = pch_gpio_suspend,
        .resume = pch_gpio_resume
 };
index 08428bf..2931514 100644 (file)
@@ -159,7 +159,7 @@ static struct platform_driver rc5t583_gpio_driver = {
                .owner   = THIS_MODULE,
        },
        .probe          = rc5t583_gpio_probe,
-       .remove         = __devexit_p(rc5t583_gpio_remove),
+       .remove         = rc5t583_gpio_remove,
 };
 
 static int __init rc5t583_gpio_init(void)
index b62d443..17b971b 100644 (file)
@@ -225,7 +225,7 @@ static struct platform_driver rdc321x_gpio_driver = {
        .driver.name    = "rdc321x-gpio",
        .driver.owner   = THIS_MODULE,
        .probe          = rdc321x_gpio_probe,
-       .remove         = __devexit_p(rdc321x_gpio_remove),
+       .remove         = rdc321x_gpio_remove,
 };
 
 module_platform_driver(rdc321x_gpio_driver);
index 8707d45..ed54425 100644 (file)
@@ -303,7 +303,7 @@ static struct platform_driver sch_gpio_driver = {
                .owner = THIS_MODULE,
        },
        .probe          = sch_gpio_probe,
-       .remove         = __devexit_p(sch_gpio_remove),
+       .remove         = sch_gpio_remove,
 };
 
 module_platform_driver(sch_gpio_driver);
index dce3472..821392d 100644 (file)
@@ -412,7 +412,7 @@ static struct platform_driver stmpe_gpio_driver = {
        .driver.name    = "stmpe-gpio",
        .driver.owner   = THIS_MODULE,
        .probe          = stmpe_gpio_probe,
-       .remove         = __devexit_p(stmpe_gpio_remove),
+       .remove         = stmpe_gpio_remove,
 };
 
 static int __init stmpe_gpio_init(void)
index eb3e215..0e1472d 100644 (file)
@@ -646,7 +646,7 @@ static struct i2c_driver sx150x_driver = {
                .owner = THIS_MODULE
        },
        .probe    = sx150x_probe,
-       .remove   = __devexit_p(sx150x_remove),
+       .remove   = sx150x_remove,
        .id_table = sx150x_id,
 };
 
index 1e48317..debe67e 100644 (file)
@@ -419,7 +419,7 @@ static struct platform_driver tc3589x_gpio_driver = {
        .driver.name    = "tc3589x-gpio",
        .driver.owner   = THIS_MODULE,
        .probe          = tc3589x_gpio_probe,
-       .remove         = __devexit_p(tc3589x_gpio_remove),
+       .remove         = tc3589x_gpio_remove,
 };
 
 static int __init tc3589x_gpio_init(void)
index 2526b3b..d048ea8 100644 (file)
@@ -137,7 +137,7 @@ static struct platform_driver tps6586x_gpio_driver = {
        .driver.name    = "tps6586x-gpio",
        .driver.owner   = THIS_MODULE,
        .probe          = tps6586x_gpio_probe,
-       .remove         = __devexit_p(tps6586x_gpio_remove),
+       .remove         = tps6586x_gpio_remove,
 };
 
 static int __init tps6586x_gpio_init(void)
index 11f29c8..cf4e327 100644 (file)
@@ -199,7 +199,7 @@ static struct platform_driver tps65910_gpio_driver = {
        .driver.name    = "tps65910-gpio",
        .driver.owner   = THIS_MODULE,
        .probe          = tps65910_gpio_probe,
-       .remove         = __devexit_p(tps65910_gpio_remove),
+       .remove         = tps65910_gpio_remove,
 };
 
 static int __init tps65910_gpio_init(void)
index 99106d1..55c1d35 100644 (file)
@@ -126,7 +126,7 @@ static struct platform_driver tps65912_gpio_driver = {
                .owner = THIS_MODULE,
        },
        .probe = tps65912_gpio_probe,
-       .remove = __devexit_p(tps65912_gpio_remove),
+       .remove = tps65912_gpio_remove,
 };
 
 static int __init tps65912_gpio_init(void)
index 82d5c20..54d6e9a 100644 (file)
@@ -564,7 +564,7 @@ static int __devexit giu_remove(struct platform_device *pdev)
 
 static struct platform_driver giu_device_driver = {
        .probe          = giu_probe,
-       .remove         = __devexit_p(giu_remove),
+       .remove         = giu_remove,
        .driver         = {
                .name   = "GIU",
                .owner  = THIS_MODULE,
index 76ebfe5..43fcc42 100644 (file)
@@ -312,7 +312,7 @@ static struct platform_driver vx855gpio_driver = {
                .owner  = THIS_MODULE,
        },
        .probe          = vx855gpio_probe,
-       .remove         = __devexit_p(vx855gpio_remove),
+       .remove         = vx855gpio_remove,
 };
 
 module_platform_driver(vx855gpio_driver);
index b6eda35..273d541 100644 (file)
@@ -286,7 +286,7 @@ static struct platform_driver wm831x_gpio_driver = {
        .driver.name    = "wm831x-gpio",
        .driver.owner   = THIS_MODULE,
        .probe          = wm831x_gpio_probe,
-       .remove         = __devexit_p(wm831x_gpio_remove),
+       .remove         = wm831x_gpio_remove,
 };
 
 static int __init wm831x_gpio_init(void)
index fb42938..348a7d9 100644 (file)
@@ -152,7 +152,7 @@ static struct platform_driver wm8350_gpio_driver = {
        .driver.name    = "wm8350-gpio",
        .driver.owner   = THIS_MODULE,
        .probe          = wm8350_gpio_probe,
-       .remove         = __devexit_p(wm8350_gpio_remove),
+       .remove         = wm8350_gpio_remove,
 };
 
 static int __init wm8350_gpio_init(void)
index 1c764e7..59f0944 100644 (file)
@@ -292,7 +292,7 @@ static struct platform_driver wm8994_gpio_driver = {
        .driver.name    = "wm8994-gpio",
        .driver.owner   = THIS_MODULE,
        .probe          = wm8994_gpio_probe,
-       .remove         = __devexit_p(wm8994_gpio_remove),
+       .remove         = wm8994_gpio_remove,
 };
 
 static int __init wm8994_gpio_init(void)