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

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Peter Tyser <ptyser@xes-inc.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
39 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-max730x.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-timberdale.c
drivers/gpio/gpio-tps6586x.c
drivers/gpio/gpio-tps65910.c
drivers/gpio/gpio-tps65912.c
drivers/gpio/gpio-twl4030.c
drivers/gpio/gpio-twl6040.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 2e6df4180dea85143d8ea5753c32b67a57fd0e94..464be961f605a70ff7db3c9845627ebf1f0abfad 100644 (file)
@@ -181,7 +181,7 @@ exit_destroy:
        return ret;
 }
 
-static int __devexit gen_74x164_remove(struct spi_device *spi)
+static int gen_74x164_remove(struct spi_device *spi)
 {
        struct gen_74x164_chip *chip;
        int ret;
index 0a636de3998990a813474b7f2d2d9150151ea037..983ad425f0acf45ecf9878147c3840a789004a4e 100644 (file)
@@ -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;
index 2a34204bc72908aecd59abff757a0b8a49f02f69..e60567fc50736904741d0e1a8e70bb19ddf3c743 100644 (file)
@@ -563,7 +563,7 @@ teardown:
        return err;
 }
 
-static __devexit int adnp_i2c_remove(struct i2c_client *client)
+static int adnp_i2c_remove(struct i2c_client *client)
 {
        struct adnp *adnp = i2c_get_clientdata(client);
        struct device_node *np = client->dev.of_node;
index b9fac75b4ddd65466d48f3aff8e21bf0c4e26d13..8afa95f831b1a0f7e6caad5cbfcbeb4147018b53 100644 (file)
@@ -167,7 +167,7 @@ err:
        return ret;
 }
 
-static int __devexit adp5520_gpio_remove(struct platform_device *pdev)
+static int adp5520_gpio_remove(struct platform_device *pdev)
 {
        struct adp5520_gpio *dev;
        int ret;
index 27001ec3bcbb4b7e34de66149536fbea428eae61..2ba56987db04dded1c231d38315f124260e0e432 100644 (file)
@@ -438,7 +438,7 @@ err:
        return ret;
 }
 
-static int __devexit adp5588_gpio_remove(struct i2c_client *client)
+static int adp5588_gpio_remove(struct i2c_client *client)
 {
        struct adp5588_gpio_platform_data *pdata = client->dev.platform_data;
        struct adp5588_gpio *dev = i2c_get_clientdata(client);
index 0a76fb0f66ceb819beaa6bbde880c4ea46bcaee2..0ea853f68db2cf63993f29ca8cfcadce1e8e0f2f 100644 (file)
@@ -141,7 +141,7 @@ err:
        return ret;
 }
 
-static int __devexit arizona_gpio_remove(struct platform_device *pdev)
+static int arizona_gpio_remove(struct platform_device *pdev)
 {
        struct arizona_gpio *arizona_gpio = platform_get_drvdata(pdev);
 
index d4a6d82d7a3ef990f57666d10cac251daa2b061c..c0a3aeba6f21b3375d59833abc918c8d7a2709b5 100644 (file)
@@ -355,7 +355,7 @@ done:
        return err;
 }
 
-static int __devexit cs5535_gpio_remove(struct platform_device *pdev)
+static int cs5535_gpio_remove(struct platform_device *pdev)
 {
        struct resource *r;
        int err;
index 2139825c4d59a05831b367e8541c3f631a2c2ca5..a05aacd2777aaa92564f520885896b6d3d6c2c99 100644 (file)
@@ -229,7 +229,7 @@ static int da9052_gpio_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit da9052_gpio_remove(struct platform_device *pdev)
+static int da9052_gpio_remove(struct platform_device *pdev)
 {
        struct da9052_gpio *gpio = platform_get_drvdata(pdev);
 
index 6253a05349eff7a13dd8a6094ab1bc6c5cf6d46b..320a718cab407439370bf9229223f278a355cc96 100644 (file)
@@ -375,7 +375,7 @@ err0:
        return ret;
 }
 
-static int __devexit em_gio_remove(struct platform_device *pdev)
+static int em_gio_remove(struct platform_device *pdev)
 {
        struct em_gio_priv *p = platform_get_drvdata(pdev);
        struct resource *irq[2];
index be3759648149572271d8382a9d0e2239181ef45f..05fcc0f247caeaa55d49eecc10237a70c6348614 100644 (file)
@@ -507,7 +507,7 @@ static int bgpio_pdev_probe(struct platform_device *pdev)
        return gpiochip_add(&bgc->gc);
 }
 
-static int __devexit bgpio_pdev_remove(struct platform_device *pdev)
+static int bgpio_pdev_remove(struct platform_device *pdev)
 {
        struct bgpio_chip *bgc = platform_get_drvdata(pdev);
 
index 3ff9ff671e31ccda0863c6d8f9d2512f5bf9a7c6..6cc87ac8e0192d4596fed24c3efea7663f332898 100644 (file)
@@ -442,7 +442,7 @@ add_err:
        return err;
 }
 
-static int __devexit ichx_gpio_remove(struct platform_device *pdev)
+static int ichx_gpio_remove(struct platform_device *pdev)
 {
        int err;
 
index cd28270672f2f5bb5bfffe70686cd3bf13370f4f..7d0a04169a351ba54b0b53b67a0d587063da5bd7 100644 (file)
@@ -211,7 +211,7 @@ out_return:
        return ret;
 }
 
-static int __devexit ttl_remove(struct platform_device *pdev)
+static int ttl_remove(struct platform_device *pdev)
 {
        struct ttl_module *mod = platform_get_drvdata(pdev);
        struct device *dev = &pdev->dev;
index a3bf90d4e93b48b16abe5094a5f173ca38e6e09a..e77b2b3e94afb2406cac39cde06d19590d6225f7 100644 (file)
@@ -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;
index 5c92414e4d606462e45226ee3fd34ecbbe1d106a..4b6b9a04e326609dcc45ed35a95ab82a4ced23c1 100644 (file)
@@ -55,7 +55,7 @@ static int max7300_probe(struct i2c_client *client,
        return ret;
 }
 
-static int __devexit max7300_remove(struct i2c_client *client)
+static int max7300_remove(struct i2c_client *client)
 {
        return __max730x_remove(&client->dev);
 }
index cf5d5b3a0e0b3b3b1d42135d3a32b98d2ffebd22..c6c535c1310e76e172ae7874a8ac92eed7b67e02 100644 (file)
@@ -75,7 +75,7 @@ static int max7301_probe(struct spi_device *spi)
        return ret;
 }
 
-static int __devexit max7301_remove(struct spi_device *spi)
+static int max7301_remove(struct spi_device *spi)
 {
        return __max730x_remove(&spi->dev);
 }
index 91b4f45ef042a139da0fe71d36b17ed8789a148b..22b75825a39efee41f120d5aa31c7d1207194e50 100644 (file)
@@ -226,7 +226,7 @@ exit_destroy:
 }
 EXPORT_SYMBOL_GPL(__max730x_probe);
 
-int __devexit __max730x_remove(struct device *dev)
+int __max730x_remove(struct device *dev)
 {
        struct max7301 *ts = dev_get_drvdata(dev);
        int ret;
index 5edd2cb3b4a719f4d6d4cbc2ecf79fbfa13142f1..1e0467ce4c375b8989e0055c26e08bb0b4b697cc 100644 (file)
@@ -651,7 +651,7 @@ out_failed:
        return ret;
 }
 
-static int __devexit max732x_remove(struct i2c_client *client)
+static int max732x_remove(struct i2c_client *client)
 {
        struct max732x_platform_data *pdata = client->dev.platform_data;
        struct max732x_chip *chip = i2c_get_clientdata(client);
index 79fc430de247522af528d583f9510b58881825cb..6a8fdc26ae6a189f0870fa7fe33b527481ae3bc0 100644 (file)
@@ -147,7 +147,7 @@ exit_destroy:
        return ret;
 }
 
-static int __devexit mc33880_remove(struct spi_device *spi)
+static int mc33880_remove(struct spi_device *spi)
 {
        struct mc33880 *mc;
        int ret;
index 45079aeb60bc64d7c872a47b4598480fac7e02a7..ce620f1ef4aa980e5d4dc7c002f6c60d2b05df9b 100644 (file)
@@ -508,7 +508,7 @@ fail:
        return status;
 }
 
-static int __devexit mcp230xx_remove(struct i2c_client *client)
+static int mcp230xx_remove(struct i2c_client *client)
 {
        struct mcp23s08 *mcp = i2c_get_clientdata(client);
        int status;
index 934b9bce6282fe8a3ba23079df0eec8fd7b68551..b73366523faebf4db81c3fbb020365f8afd75123 100644 (file)
@@ -517,7 +517,7 @@ err_pci_enable:
        return ret;
 }
 
-static void __devexit ioh_gpio_remove(struct pci_dev *pdev)
+static void ioh_gpio_remove(struct pci_dev *pdev)
 {
        int err;
        int i;
index 5451bec942ef08d3eb3b8d6b1f9ef3ce0051d396..55a7e7769af6e21bb448c33afc8a1b5dc45b9fc4 100644 (file)
@@ -376,7 +376,7 @@ static int msm_gpio_probe(struct platform_device *dev)
        return 0;
 }
 
-static int __devexit msm_gpio_remove(struct platform_device *dev)
+static int msm_gpio_remove(struct platform_device *dev)
 {
        int ret = gpiochip_remove(&msm_gpio.gpio_chip);
 
index 09568a4b7799716bfae3c3236eb3cd30c21fbb2d..bb2b66be17a42e32571c6ed470da0eeee8c161e3 100644 (file)
@@ -442,7 +442,7 @@ err_pci_enable:
        return ret;
 }
 
-static void __devexit pch_gpio_remove(struct pci_dev *pdev)
+static void pch_gpio_remove(struct pci_dev *pdev)
 {
        int err;
        struct pch_gpio *chip = pci_get_drvdata(pdev);
index 59ee5de68e509356b1d4e0bee86fede2866c79e1..e63d6a397e1780bbefac9720bd2a7f79849eef39 100644 (file)
@@ -146,7 +146,7 @@ static int rc5t583_gpio_probe(struct platform_device *pdev)
        return gpiochip_add(&rc5t583_gpio->gpio_chip);
 }
 
-static int __devexit rc5t583_gpio_remove(struct platform_device *pdev)
+static int rc5t583_gpio_remove(struct platform_device *pdev)
 {
        struct rc5t583_gpio *rc5t583_gpio = platform_get_drvdata(pdev);
 
index dd3b49f0984407cf5674e6bf34454cd549e12692..1bf55f67f7a54c1b2a2ae5f2b1a2dcc28dc9cfc0 100644 (file)
@@ -206,7 +206,7 @@ out_free:
        return err;
 }
 
-static int __devexit rdc321x_gpio_remove(struct platform_device *pdev)
+static int rdc321x_gpio_remove(struct platform_device *pdev)
 {
        int ret;
        struct rdc321x_gpio *rdc321x_gpio_dev = platform_get_drvdata(pdev);
index 4498855c7d7407f4f16537e632db2b2628386a73..edae963f4625ed146621f12fb04800c434e40d79 100644 (file)
@@ -271,7 +271,7 @@ err_sch_gpio_core:
        return err;
 }
 
-static int __devexit sch_gpio_remove(struct platform_device *pdev)
+static int sch_gpio_remove(struct platform_device *pdev)
 {
        struct resource *res;
        if (gpio_ba) {
index 72cf6183ee9f21765a557cfd85ae76ba1a391fde..6dff78b19725d21612d77fcddbcb63f020f665f1 100644 (file)
@@ -378,7 +378,7 @@ out_free:
        return ret;
 }
 
-static int __devexit stmpe_gpio_remove(struct platform_device *pdev)
+static int stmpe_gpio_remove(struct platform_device *pdev)
 {
        struct stmpe_gpio *stmpe_gpio = platform_get_drvdata(pdev);
        struct stmpe *stmpe = stmpe_gpio->stmpe;
index 9c93308abff68a9ba6783332531b03a33c8eca6d..796b6c42fa7040da364351c64aaa7878b4ad8550 100644 (file)
@@ -622,7 +622,7 @@ probe_fail_pre_gpiochip_add:
        return rc;
 }
 
-static int __devexit sx150x_remove(struct i2c_client *client)
+static int sx150x_remove(struct i2c_client *client)
 {
        struct sx150x_chip *chip;
        int rc;
index d69d7c8838c6f536ca1b23cadc67c352866c1dab..839f44923cb9cd0e351b3231a806968c58a91a36 100644 (file)
@@ -389,7 +389,7 @@ out_free:
        return ret;
 }
 
-static int __devexit tc3589x_gpio_remove(struct platform_device *pdev)
+static int tc3589x_gpio_remove(struct platform_device *pdev)
 {
        struct tc3589x_gpio *tc3589x_gpio = platform_get_drvdata(pdev);
        struct tc3589x *tc3589x = tc3589x_gpio->tc3589x;
index 728d6e773a840db867adab994d06c0708496d7fa..702cca9284f1b54ef226348e083f14476d9f9a88 100644 (file)
@@ -316,7 +316,7 @@ err_mem:
        return err;
 }
 
-static int __devexit timbgpio_remove(struct platform_device *pdev)
+static int timbgpio_remove(struct platform_device *pdev)
 {
        int err;
        struct timbgpio_platform_data *pdata = pdev->dev.platform_data;
index b0b2ee076e68d4c0bf4b8dad163d223669d1b56a..c1b82da56504b1676b1a730007cca934dacc68bf 100644 (file)
@@ -126,7 +126,7 @@ static int tps6586x_gpio_probe(struct platform_device *pdev)
        return ret;
 }
 
-static int __devexit tps6586x_gpio_remove(struct platform_device *pdev)
+static int tps6586x_gpio_remove(struct platform_device *pdev)
 {
        struct tps6586x_gpio *tps6586x_gpio = platform_get_drvdata(pdev);
 
index 635352c063c75b939de4a00ff450b7ec97bb6e5f..5083825a0348bf4167f6895355e20f317eda3319 100644 (file)
@@ -188,7 +188,7 @@ skip_init:
        return ret;
 }
 
-static int __devexit tps65910_gpio_remove(struct platform_device *pdev)
+static int tps65910_gpio_remove(struct platform_device *pdev)
 {
        struct tps65910_gpio *tps65910_gpio = platform_get_drvdata(pdev);
 
index c0623b8a749559235e863fe7386dbef1dfee5690..30a5844a7dca212d0d36f17c6ccc26b6778e59b8 100644 (file)
@@ -113,7 +113,7 @@ static int tps65912_gpio_probe(struct platform_device *pdev)
        return ret;
 }
 
-static int __devexit tps65912_gpio_remove(struct platform_device *pdev)
+static int tps65912_gpio_remove(struct platform_device *pdev)
 {
        struct tps65912_gpio_data  *tps65912_gpio = platform_get_drvdata(pdev);
 
index 648e5608a17569e93d2d300443721141cf99ac62..8beae6627656addc3e77494b881cb5881a7a8115 100644 (file)
@@ -505,7 +505,7 @@ out:
        return ret;
 }
 
-/* Cannot use __devexit as gpio_twl4030_probe() calls us */
+/* Cannot use as gpio_twl4030_probe() calls us */
 static int gpio_twl4030_remove(struct platform_device *pdev)
 {
        struct twl4030_gpio_platform_data *pdata = pdev->dev.platform_data;
index 2962b84bd2531c38c1ceb54720f7126bc4d544a6..0be82c6dd796cf5e0daac94f1804afcef8750273 100644 (file)
@@ -113,7 +113,7 @@ static int gpo_twl6040_probe(struct platform_device *pdev)
        return ret;
 }
 
-static int __devexit gpo_twl6040_remove(struct platform_device *pdev)
+static int gpo_twl6040_remove(struct platform_device *pdev)
 {
        return gpiochip_remove(&twl6040gpo_chip);
 }
index c13920b6cd726ca421e320065449ed46d9b4d87a..9902732a382d5064e6fcd99aab31618da21f9a2d 100644 (file)
@@ -552,7 +552,7 @@ static int giu_probe(struct platform_device *pdev)
        return cascade_irq(irq, giu_get_irq);
 }
 
-static int __devexit giu_remove(struct platform_device *pdev)
+static int giu_remove(struct platform_device *pdev)
 {
        if (giu_base) {
                iounmap(giu_base);
index 90dd23b0af8acbe04a6d1f8af9b6bffd89123c58..2b7252cb24275d495802b1a45c85b4ad2a84d88e 100644 (file)
@@ -284,7 +284,7 @@ out_release:
        return ret;
 }
 
-static int __devexit vx855gpio_remove(struct platform_device *pdev)
+static int vx855gpio_remove(struct platform_device *pdev)
 {
        struct vx855_gpio *vg = platform_get_drvdata(pdev);
        struct resource *res;
index 8182145ea29b2a9a58a4ebf7098a4c68cf492521..2a743e10ecb65336e59de61ef32586ba83639644 100644 (file)
@@ -275,7 +275,7 @@ static int wm831x_gpio_probe(struct platform_device *pdev)
        return ret;
 }
 
-static int __devexit wm831x_gpio_remove(struct platform_device *pdev)
+static int wm831x_gpio_remove(struct platform_device *pdev)
 {
        struct wm831x_gpio *wm831x_gpio = platform_get_drvdata(pdev);
 
index 2b99fc3fadd01d88e8e38f84a770caadc0bfff58..0b598cf3df9dc6320b6047a15a4e7a9f73252e3b 100644 (file)
@@ -141,7 +141,7 @@ static int wm8350_gpio_probe(struct platform_device *pdev)
        return ret;
 }
 
-static int __devexit wm8350_gpio_remove(struct platform_device *pdev)
+static int wm8350_gpio_remove(struct platform_device *pdev)
 {
        struct wm8350_gpio_data *wm8350_gpio = platform_get_drvdata(pdev);
 
index fc3917889dabdb82793423852465a6f4ccedb71d..ae409fd94af7421e9b2f42ddc4af73eeda6936a9 100644 (file)
@@ -281,7 +281,7 @@ err:
        return ret;
 }
 
-static int __devexit wm8994_gpio_remove(struct platform_device *pdev)
+static int wm8994_gpio_remove(struct platform_device *pdev)
 {
        struct wm8994_gpio *wm8994_gpio = platform_get_drvdata(pdev);
 
This page took 0.051681 seconds and 5 git commands to generate.