aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:25:50 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 14:39:59 -0500
commit206210ce68c1feb1d9d05839ceacc97ad1b0b324 (patch)
treebc4066369566144ffc938ab3eac3a6ee36702c91 /drivers
parentb5ba78de76b0a39cfcf08dec78e90b737e995965 (diff)
gpio: remove use of __devexit
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpio/gpio-74x164.c2
-rw-r--r--drivers/gpio/gpio-ab8500.c2
-rw-r--r--drivers/gpio/gpio-adnp.c2
-rw-r--r--drivers/gpio/gpio-adp5520.c2
-rw-r--r--drivers/gpio/gpio-adp5588.c2
-rw-r--r--drivers/gpio/gpio-arizona.c2
-rw-r--r--drivers/gpio/gpio-cs5535.c2
-rw-r--r--drivers/gpio/gpio-da9052.c2
-rw-r--r--drivers/gpio/gpio-em.c2
-rw-r--r--drivers/gpio/gpio-generic.c2
-rw-r--r--drivers/gpio/gpio-ich.c2
-rw-r--r--drivers/gpio/gpio-janz-ttl.c2
-rw-r--r--drivers/gpio/gpio-langwell.c2
-rw-r--r--drivers/gpio/gpio-max7300.c2
-rw-r--r--drivers/gpio/gpio-max7301.c2
-rw-r--r--drivers/gpio/gpio-max730x.c2
-rw-r--r--drivers/gpio/gpio-max732x.c2
-rw-r--r--drivers/gpio/gpio-mc33880.c2
-rw-r--r--drivers/gpio/gpio-mcp23s08.c2
-rw-r--r--drivers/gpio/gpio-ml-ioh.c2
-rw-r--r--drivers/gpio/gpio-msm-v2.c2
-rw-r--r--drivers/gpio/gpio-pch.c2
-rw-r--r--drivers/gpio/gpio-rc5t583.c2
-rw-r--r--drivers/gpio/gpio-rdc321x.c2
-rw-r--r--drivers/gpio/gpio-sch.c2
-rw-r--r--drivers/gpio/gpio-stmpe.c2
-rw-r--r--drivers/gpio/gpio-sx150x.c2
-rw-r--r--drivers/gpio/gpio-tc3589x.c2
-rw-r--r--drivers/gpio/gpio-timberdale.c2
-rw-r--r--drivers/gpio/gpio-tps6586x.c2
-rw-r--r--drivers/gpio/gpio-tps65910.c2
-rw-r--r--drivers/gpio/gpio-tps65912.c2
-rw-r--r--drivers/gpio/gpio-twl4030.c2
-rw-r--r--drivers/gpio/gpio-twl6040.c2
-rw-r--r--drivers/gpio/gpio-vr41xx.c2
-rw-r--r--drivers/gpio/gpio-vx855.c2
-rw-r--r--drivers/gpio/gpio-wm831x.c2
-rw-r--r--drivers/gpio/gpio-wm8350.c2
-rw-r--r--drivers/gpio/gpio-wm8994.c2
39 files changed, 39 insertions, 39 deletions
diff --git a/drivers/gpio/gpio-74x164.c b/drivers/gpio/gpio-74x164.c
index 2e6df4180dea..464be961f605 100644
--- a/drivers/gpio/gpio-74x164.c
+++ b/drivers/gpio/gpio-74x164.c
@@ -181,7 +181,7 @@ exit_destroy:
181 return ret; 181 return ret;
182} 182}
183 183
184static int __devexit gen_74x164_remove(struct spi_device *spi) 184static int gen_74x164_remove(struct spi_device *spi)
185{ 185{
186 struct gen_74x164_chip *chip; 186 struct gen_74x164_chip *chip;
187 int ret; 187 int ret;
diff --git a/drivers/gpio/gpio-ab8500.c b/drivers/gpio/gpio-ab8500.c
index 0a636de39989..983ad425f0ac 100644
--- a/drivers/gpio/gpio-ab8500.c
+++ b/drivers/gpio/gpio-ab8500.c
@@ -474,7 +474,7 @@ out_free:
474 * ab8500_gpio_remove() - remove Ab8500-gpio driver 474 * ab8500_gpio_remove() - remove Ab8500-gpio driver
475 * @pdev : Platform device registered 475 * @pdev : Platform device registered
476 */ 476 */
477static int __devexit ab8500_gpio_remove(struct platform_device *pdev) 477static int ab8500_gpio_remove(struct platform_device *pdev)
478{ 478{
479 struct ab8500_gpio *ab8500_gpio = platform_get_drvdata(pdev); 479 struct ab8500_gpio *ab8500_gpio = platform_get_drvdata(pdev);
480 int ret; 480 int ret;
diff --git a/drivers/gpio/gpio-adnp.c b/drivers/gpio/gpio-adnp.c
index 2a34204bc729..e60567fc5073 100644
--- a/drivers/gpio/gpio-adnp.c
+++ b/drivers/gpio/gpio-adnp.c
@@ -563,7 +563,7 @@ teardown:
563 return err; 563 return err;
564} 564}
565 565
566static __devexit int adnp_i2c_remove(struct i2c_client *client) 566static int adnp_i2c_remove(struct i2c_client *client)
567{ 567{
568 struct adnp *adnp = i2c_get_clientdata(client); 568 struct adnp *adnp = i2c_get_clientdata(client);
569 struct device_node *np = client->dev.of_node; 569 struct device_node *np = client->dev.of_node;
diff --git a/drivers/gpio/gpio-adp5520.c b/drivers/gpio/gpio-adp5520.c
index b9fac75b4ddd..8afa95f831b1 100644
--- a/drivers/gpio/gpio-adp5520.c
+++ b/drivers/gpio/gpio-adp5520.c
@@ -167,7 +167,7 @@ err:
167 return ret; 167 return ret;
168} 168}
169 169
170static int __devexit adp5520_gpio_remove(struct platform_device *pdev) 170static int adp5520_gpio_remove(struct platform_device *pdev)
171{ 171{
172 struct adp5520_gpio *dev; 172 struct adp5520_gpio *dev;
173 int ret; 173 int ret;
diff --git a/drivers/gpio/gpio-adp5588.c b/drivers/gpio/gpio-adp5588.c
index 27001ec3bcbb..2ba56987db04 100644
--- a/drivers/gpio/gpio-adp5588.c
+++ b/drivers/gpio/gpio-adp5588.c
@@ -438,7 +438,7 @@ err:
438 return ret; 438 return ret;
439} 439}
440 440
441static int __devexit adp5588_gpio_remove(struct i2c_client *client) 441static int adp5588_gpio_remove(struct i2c_client *client)
442{ 442{
443 struct adp5588_gpio_platform_data *pdata = client->dev.platform_data; 443 struct adp5588_gpio_platform_data *pdata = client->dev.platform_data;
444 struct adp5588_gpio *dev = i2c_get_clientdata(client); 444 struct adp5588_gpio *dev = i2c_get_clientdata(client);
diff --git a/drivers/gpio/gpio-arizona.c b/drivers/gpio/gpio-arizona.c
index 0a76fb0f66ce..0ea853f68db2 100644
--- a/drivers/gpio/gpio-arizona.c
+++ b/drivers/gpio/gpio-arizona.c
@@ -141,7 +141,7 @@ err:
141 return ret; 141 return ret;
142} 142}
143 143
144static int __devexit arizona_gpio_remove(struct platform_device *pdev) 144static int arizona_gpio_remove(struct platform_device *pdev)
145{ 145{
146 struct arizona_gpio *arizona_gpio = platform_get_drvdata(pdev); 146 struct arizona_gpio *arizona_gpio = platform_get_drvdata(pdev);
147 147
diff --git a/drivers/gpio/gpio-cs5535.c b/drivers/gpio/gpio-cs5535.c
index d4a6d82d7a3e..c0a3aeba6f21 100644
--- a/drivers/gpio/gpio-cs5535.c
+++ b/drivers/gpio/gpio-cs5535.c
@@ -355,7 +355,7 @@ done:
355 return err; 355 return err;
356} 356}
357 357
358static int __devexit cs5535_gpio_remove(struct platform_device *pdev) 358static int cs5535_gpio_remove(struct platform_device *pdev)
359{ 359{
360 struct resource *r; 360 struct resource *r;
361 int err; 361 int err;
diff --git a/drivers/gpio/gpio-da9052.c b/drivers/gpio/gpio-da9052.c
index 2139825c4d59..a05aacd2777a 100644
--- a/drivers/gpio/gpio-da9052.c
+++ b/drivers/gpio/gpio-da9052.c
@@ -229,7 +229,7 @@ static int da9052_gpio_probe(struct platform_device *pdev)
229 return 0; 229 return 0;
230} 230}
231 231
232static int __devexit da9052_gpio_remove(struct platform_device *pdev) 232static int da9052_gpio_remove(struct platform_device *pdev)
233{ 233{
234 struct da9052_gpio *gpio = platform_get_drvdata(pdev); 234 struct da9052_gpio *gpio = platform_get_drvdata(pdev);
235 235
diff --git a/drivers/gpio/gpio-em.c b/drivers/gpio/gpio-em.c
index 6253a05349ef..320a718cab40 100644
--- a/drivers/gpio/gpio-em.c
+++ b/drivers/gpio/gpio-em.c
@@ -375,7 +375,7 @@ err0:
375 return ret; 375 return ret;
376} 376}
377 377
378static int __devexit em_gio_remove(struct platform_device *pdev) 378static int em_gio_remove(struct platform_device *pdev)
379{ 379{
380 struct em_gio_priv *p = platform_get_drvdata(pdev); 380 struct em_gio_priv *p = platform_get_drvdata(pdev);
381 struct resource *irq[2]; 381 struct resource *irq[2];
diff --git a/drivers/gpio/gpio-generic.c b/drivers/gpio/gpio-generic.c
index be3759648149..05fcc0f247ca 100644
--- a/drivers/gpio/gpio-generic.c
+++ b/drivers/gpio/gpio-generic.c
@@ -507,7 +507,7 @@ static int bgpio_pdev_probe(struct platform_device *pdev)
507 return gpiochip_add(&bgc->gc); 507 return gpiochip_add(&bgc->gc);
508} 508}
509 509
510static int __devexit bgpio_pdev_remove(struct platform_device *pdev) 510static int bgpio_pdev_remove(struct platform_device *pdev)
511{ 511{
512 struct bgpio_chip *bgc = platform_get_drvdata(pdev); 512 struct bgpio_chip *bgc = platform_get_drvdata(pdev);
513 513
diff --git a/drivers/gpio/gpio-ich.c b/drivers/gpio/gpio-ich.c
index 3ff9ff671e31..6cc87ac8e019 100644
--- a/drivers/gpio/gpio-ich.c
+++ b/drivers/gpio/gpio-ich.c
@@ -442,7 +442,7 @@ add_err:
442 return err; 442 return err;
443} 443}
444 444
445static int __devexit ichx_gpio_remove(struct platform_device *pdev) 445static int ichx_gpio_remove(struct platform_device *pdev)
446{ 446{
447 int err; 447 int err;
448 448
diff --git a/drivers/gpio/gpio-janz-ttl.c b/drivers/gpio/gpio-janz-ttl.c
index cd28270672f2..7d0a04169a35 100644
--- a/drivers/gpio/gpio-janz-ttl.c
+++ b/drivers/gpio/gpio-janz-ttl.c
@@ -211,7 +211,7 @@ out_return:
211 return ret; 211 return ret;
212} 212}
213 213
214static int __devexit ttl_remove(struct platform_device *pdev) 214static int ttl_remove(struct platform_device *pdev)
215{ 215{
216 struct ttl_module *mod = platform_get_drvdata(pdev); 216 struct ttl_module *mod = platform_get_drvdata(pdev);
217 struct device *dev = &pdev->dev; 217 struct device *dev = &pdev->dev;
diff --git a/drivers/gpio/gpio-langwell.c b/drivers/gpio/gpio-langwell.c
index a3bf90d4e93b..e77b2b3e94af 100644
--- a/drivers/gpio/gpio-langwell.c
+++ b/drivers/gpio/gpio-langwell.c
@@ -484,7 +484,7 @@ err_kmalloc:
484 return retval; 484 return retval;
485} 485}
486 486
487static int __devexit wp_gpio_remove(struct platform_device *pdev) 487static int wp_gpio_remove(struct platform_device *pdev)
488{ 488{
489 struct lnw_gpio *lnw = platform_get_drvdata(pdev); 489 struct lnw_gpio *lnw = platform_get_drvdata(pdev);
490 int err; 490 int err;
diff --git a/drivers/gpio/gpio-max7300.c b/drivers/gpio/gpio-max7300.c
index 5c92414e4d60..4b6b9a04e326 100644
--- a/drivers/gpio/gpio-max7300.c
+++ b/drivers/gpio/gpio-max7300.c
@@ -55,7 +55,7 @@ static int max7300_probe(struct i2c_client *client,
55 return ret; 55 return ret;
56} 56}
57 57
58static int __devexit max7300_remove(struct i2c_client *client) 58static int max7300_remove(struct i2c_client *client)
59{ 59{
60 return __max730x_remove(&client->dev); 60 return __max730x_remove(&client->dev);
61} 61}
diff --git a/drivers/gpio/gpio-max7301.c b/drivers/gpio/gpio-max7301.c
index cf5d5b3a0e0b..c6c535c1310e 100644
--- a/drivers/gpio/gpio-max7301.c
+++ b/drivers/gpio/gpio-max7301.c
@@ -75,7 +75,7 @@ static int max7301_probe(struct spi_device *spi)
75 return ret; 75 return ret;
76} 76}
77 77
78static int __devexit max7301_remove(struct spi_device *spi) 78static int max7301_remove(struct spi_device *spi)
79{ 79{
80 return __max730x_remove(&spi->dev); 80 return __max730x_remove(&spi->dev);
81} 81}
diff --git a/drivers/gpio/gpio-max730x.c b/drivers/gpio/gpio-max730x.c
index 91b4f45ef042..22b75825a39e 100644
--- a/drivers/gpio/gpio-max730x.c
+++ b/drivers/gpio/gpio-max730x.c
@@ -226,7 +226,7 @@ exit_destroy:
226} 226}
227EXPORT_SYMBOL_GPL(__max730x_probe); 227EXPORT_SYMBOL_GPL(__max730x_probe);
228 228
229int __devexit __max730x_remove(struct device *dev) 229int __max730x_remove(struct device *dev)
230{ 230{
231 struct max7301 *ts = dev_get_drvdata(dev); 231 struct max7301 *ts = dev_get_drvdata(dev);
232 int ret; 232 int ret;
diff --git a/drivers/gpio/gpio-max732x.c b/drivers/gpio/gpio-max732x.c
index 5edd2cb3b4a7..1e0467ce4c37 100644
--- a/drivers/gpio/gpio-max732x.c
+++ b/drivers/gpio/gpio-max732x.c
@@ -651,7 +651,7 @@ out_failed:
651 return ret; 651 return ret;
652} 652}
653 653
654static int __devexit max732x_remove(struct i2c_client *client) 654static int max732x_remove(struct i2c_client *client)
655{ 655{
656 struct max732x_platform_data *pdata = client->dev.platform_data; 656 struct max732x_platform_data *pdata = client->dev.platform_data;
657 struct max732x_chip *chip = i2c_get_clientdata(client); 657 struct max732x_chip *chip = i2c_get_clientdata(client);
diff --git a/drivers/gpio/gpio-mc33880.c b/drivers/gpio/gpio-mc33880.c
index 79fc430de247..6a8fdc26ae6a 100644
--- a/drivers/gpio/gpio-mc33880.c
+++ b/drivers/gpio/gpio-mc33880.c
@@ -147,7 +147,7 @@ exit_destroy:
147 return ret; 147 return ret;
148} 148}
149 149
150static int __devexit mc33880_remove(struct spi_device *spi) 150static int mc33880_remove(struct spi_device *spi)
151{ 151{
152 struct mc33880 *mc; 152 struct mc33880 *mc;
153 int ret; 153 int ret;
diff --git a/drivers/gpio/gpio-mcp23s08.c b/drivers/gpio/gpio-mcp23s08.c
index 45079aeb60bc..ce620f1ef4aa 100644
--- a/drivers/gpio/gpio-mcp23s08.c
+++ b/drivers/gpio/gpio-mcp23s08.c
@@ -508,7 +508,7 @@ fail:
508 return status; 508 return status;
509} 509}
510 510
511static int __devexit mcp230xx_remove(struct i2c_client *client) 511static int mcp230xx_remove(struct i2c_client *client)
512{ 512{
513 struct mcp23s08 *mcp = i2c_get_clientdata(client); 513 struct mcp23s08 *mcp = i2c_get_clientdata(client);
514 int status; 514 int status;
diff --git a/drivers/gpio/gpio-ml-ioh.c b/drivers/gpio/gpio-ml-ioh.c
index 934b9bce6282..b73366523fae 100644
--- a/drivers/gpio/gpio-ml-ioh.c
+++ b/drivers/gpio/gpio-ml-ioh.c
@@ -517,7 +517,7 @@ err_pci_enable:
517 return ret; 517 return ret;
518} 518}
519 519
520static void __devexit ioh_gpio_remove(struct pci_dev *pdev) 520static void ioh_gpio_remove(struct pci_dev *pdev)
521{ 521{
522 int err; 522 int err;
523 int i; 523 int i;
diff --git a/drivers/gpio/gpio-msm-v2.c b/drivers/gpio/gpio-msm-v2.c
index 5451bec942ef..55a7e7769af6 100644
--- a/drivers/gpio/gpio-msm-v2.c
+++ b/drivers/gpio/gpio-msm-v2.c
@@ -376,7 +376,7 @@ static int msm_gpio_probe(struct platform_device *dev)
376 return 0; 376 return 0;
377} 377}
378 378
379static int __devexit msm_gpio_remove(struct platform_device *dev) 379static int msm_gpio_remove(struct platform_device *dev)
380{ 380{
381 int ret = gpiochip_remove(&msm_gpio.gpio_chip); 381 int ret = gpiochip_remove(&msm_gpio.gpio_chip);
382 382
diff --git a/drivers/gpio/gpio-pch.c b/drivers/gpio/gpio-pch.c
index 09568a4b7799..bb2b66be17a4 100644
--- a/drivers/gpio/gpio-pch.c
+++ b/drivers/gpio/gpio-pch.c
@@ -442,7 +442,7 @@ err_pci_enable:
442 return ret; 442 return ret;
443} 443}
444 444
445static void __devexit pch_gpio_remove(struct pci_dev *pdev) 445static void pch_gpio_remove(struct pci_dev *pdev)
446{ 446{
447 int err; 447 int err;
448 struct pch_gpio *chip = pci_get_drvdata(pdev); 448 struct pch_gpio *chip = pci_get_drvdata(pdev);
diff --git a/drivers/gpio/gpio-rc5t583.c b/drivers/gpio/gpio-rc5t583.c
index 59ee5de68e50..e63d6a397e17 100644
--- a/drivers/gpio/gpio-rc5t583.c
+++ b/drivers/gpio/gpio-rc5t583.c
@@ -146,7 +146,7 @@ static int rc5t583_gpio_probe(struct platform_device *pdev)
146 return gpiochip_add(&rc5t583_gpio->gpio_chip); 146 return gpiochip_add(&rc5t583_gpio->gpio_chip);
147} 147}
148 148
149static int __devexit rc5t583_gpio_remove(struct platform_device *pdev) 149static int rc5t583_gpio_remove(struct platform_device *pdev)
150{ 150{
151 struct rc5t583_gpio *rc5t583_gpio = platform_get_drvdata(pdev); 151 struct rc5t583_gpio *rc5t583_gpio = platform_get_drvdata(pdev);
152 152
diff --git a/drivers/gpio/gpio-rdc321x.c b/drivers/gpio/gpio-rdc321x.c
index dd3b49f09844..1bf55f67f7a5 100644
--- a/drivers/gpio/gpio-rdc321x.c
+++ b/drivers/gpio/gpio-rdc321x.c
@@ -206,7 +206,7 @@ out_free:
206 return err; 206 return err;
207} 207}
208 208
209static int __devexit rdc321x_gpio_remove(struct platform_device *pdev) 209static int rdc321x_gpio_remove(struct platform_device *pdev)
210{ 210{
211 int ret; 211 int ret;
212 struct rdc321x_gpio *rdc321x_gpio_dev = platform_get_drvdata(pdev); 212 struct rdc321x_gpio *rdc321x_gpio_dev = platform_get_drvdata(pdev);
diff --git a/drivers/gpio/gpio-sch.c b/drivers/gpio/gpio-sch.c
index 4498855c7d74..edae963f4625 100644
--- a/drivers/gpio/gpio-sch.c
+++ b/drivers/gpio/gpio-sch.c
@@ -271,7 +271,7 @@ err_sch_gpio_core:
271 return err; 271 return err;
272} 272}
273 273
274static int __devexit sch_gpio_remove(struct platform_device *pdev) 274static int sch_gpio_remove(struct platform_device *pdev)
275{ 275{
276 struct resource *res; 276 struct resource *res;
277 if (gpio_ba) { 277 if (gpio_ba) {
diff --git a/drivers/gpio/gpio-stmpe.c b/drivers/gpio/gpio-stmpe.c
index 72cf6183ee9f..6dff78b19725 100644
--- a/drivers/gpio/gpio-stmpe.c
+++ b/drivers/gpio/gpio-stmpe.c
@@ -378,7 +378,7 @@ out_free:
378 return ret; 378 return ret;
379} 379}
380 380
381static int __devexit stmpe_gpio_remove(struct platform_device *pdev) 381static int stmpe_gpio_remove(struct platform_device *pdev)
382{ 382{
383 struct stmpe_gpio *stmpe_gpio = platform_get_drvdata(pdev); 383 struct stmpe_gpio *stmpe_gpio = platform_get_drvdata(pdev);
384 struct stmpe *stmpe = stmpe_gpio->stmpe; 384 struct stmpe *stmpe = stmpe_gpio->stmpe;
diff --git a/drivers/gpio/gpio-sx150x.c b/drivers/gpio/gpio-sx150x.c
index 9c93308abff6..796b6c42fa70 100644
--- a/drivers/gpio/gpio-sx150x.c
+++ b/drivers/gpio/gpio-sx150x.c
@@ -622,7 +622,7 @@ probe_fail_pre_gpiochip_add:
622 return rc; 622 return rc;
623} 623}
624 624
625static int __devexit sx150x_remove(struct i2c_client *client) 625static int sx150x_remove(struct i2c_client *client)
626{ 626{
627 struct sx150x_chip *chip; 627 struct sx150x_chip *chip;
628 int rc; 628 int rc;
diff --git a/drivers/gpio/gpio-tc3589x.c b/drivers/gpio/gpio-tc3589x.c
index d69d7c8838c6..839f44923cb9 100644
--- a/drivers/gpio/gpio-tc3589x.c
+++ b/drivers/gpio/gpio-tc3589x.c
@@ -389,7 +389,7 @@ out_free:
389 return ret; 389 return ret;
390} 390}
391 391
392static int __devexit tc3589x_gpio_remove(struct platform_device *pdev) 392static int tc3589x_gpio_remove(struct platform_device *pdev)
393{ 393{
394 struct tc3589x_gpio *tc3589x_gpio = platform_get_drvdata(pdev); 394 struct tc3589x_gpio *tc3589x_gpio = platform_get_drvdata(pdev);
395 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; 395 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x;
diff --git a/drivers/gpio/gpio-timberdale.c b/drivers/gpio/gpio-timberdale.c
index 728d6e773a84..702cca9284f1 100644
--- a/drivers/gpio/gpio-timberdale.c
+++ b/drivers/gpio/gpio-timberdale.c
@@ -316,7 +316,7 @@ err_mem:
316 return err; 316 return err;
317} 317}
318 318
319static int __devexit timbgpio_remove(struct platform_device *pdev) 319static int timbgpio_remove(struct platform_device *pdev)
320{ 320{
321 int err; 321 int err;
322 struct timbgpio_platform_data *pdata = pdev->dev.platform_data; 322 struct timbgpio_platform_data *pdata = pdev->dev.platform_data;
diff --git a/drivers/gpio/gpio-tps6586x.c b/drivers/gpio/gpio-tps6586x.c
index b0b2ee076e68..c1b82da56504 100644
--- a/drivers/gpio/gpio-tps6586x.c
+++ b/drivers/gpio/gpio-tps6586x.c
@@ -126,7 +126,7 @@ static int tps6586x_gpio_probe(struct platform_device *pdev)
126 return ret; 126 return ret;
127} 127}
128 128
129static int __devexit tps6586x_gpio_remove(struct platform_device *pdev) 129static int tps6586x_gpio_remove(struct platform_device *pdev)
130{ 130{
131 struct tps6586x_gpio *tps6586x_gpio = platform_get_drvdata(pdev); 131 struct tps6586x_gpio *tps6586x_gpio = platform_get_drvdata(pdev);
132 132
diff --git a/drivers/gpio/gpio-tps65910.c b/drivers/gpio/gpio-tps65910.c
index 635352c063c7..5083825a0348 100644
--- a/drivers/gpio/gpio-tps65910.c
+++ b/drivers/gpio/gpio-tps65910.c
@@ -188,7 +188,7 @@ skip_init:
188 return ret; 188 return ret;
189} 189}
190 190
191static int __devexit tps65910_gpio_remove(struct platform_device *pdev) 191static int tps65910_gpio_remove(struct platform_device *pdev)
192{ 192{
193 struct tps65910_gpio *tps65910_gpio = platform_get_drvdata(pdev); 193 struct tps65910_gpio *tps65910_gpio = platform_get_drvdata(pdev);
194 194
diff --git a/drivers/gpio/gpio-tps65912.c b/drivers/gpio/gpio-tps65912.c
index c0623b8a7495..30a5844a7dca 100644
--- a/drivers/gpio/gpio-tps65912.c
+++ b/drivers/gpio/gpio-tps65912.c
@@ -113,7 +113,7 @@ static int tps65912_gpio_probe(struct platform_device *pdev)
113 return ret; 113 return ret;
114} 114}
115 115
116static int __devexit tps65912_gpio_remove(struct platform_device *pdev) 116static int tps65912_gpio_remove(struct platform_device *pdev)
117{ 117{
118 struct tps65912_gpio_data *tps65912_gpio = platform_get_drvdata(pdev); 118 struct tps65912_gpio_data *tps65912_gpio = platform_get_drvdata(pdev);
119 119
diff --git a/drivers/gpio/gpio-twl4030.c b/drivers/gpio/gpio-twl4030.c
index 648e5608a175..8beae6627656 100644
--- a/drivers/gpio/gpio-twl4030.c
+++ b/drivers/gpio/gpio-twl4030.c
@@ -505,7 +505,7 @@ out:
505 return ret; 505 return ret;
506} 506}
507 507
508/* Cannot use __devexit as gpio_twl4030_probe() calls us */ 508/* Cannot use as gpio_twl4030_probe() calls us */
509static int gpio_twl4030_remove(struct platform_device *pdev) 509static int gpio_twl4030_remove(struct platform_device *pdev)
510{ 510{
511 struct twl4030_gpio_platform_data *pdata = pdev->dev.platform_data; 511 struct twl4030_gpio_platform_data *pdata = pdev->dev.platform_data;
diff --git a/drivers/gpio/gpio-twl6040.c b/drivers/gpio/gpio-twl6040.c
index 2962b84bd253..0be82c6dd796 100644
--- a/drivers/gpio/gpio-twl6040.c
+++ b/drivers/gpio/gpio-twl6040.c
@@ -113,7 +113,7 @@ static int gpo_twl6040_probe(struct platform_device *pdev)
113 return ret; 113 return ret;
114} 114}
115 115
116static int __devexit gpo_twl6040_remove(struct platform_device *pdev) 116static int gpo_twl6040_remove(struct platform_device *pdev)
117{ 117{
118 return gpiochip_remove(&twl6040gpo_chip); 118 return gpiochip_remove(&twl6040gpo_chip);
119} 119}
diff --git a/drivers/gpio/gpio-vr41xx.c b/drivers/gpio/gpio-vr41xx.c
index c13920b6cd72..9902732a382d 100644
--- a/drivers/gpio/gpio-vr41xx.c
+++ b/drivers/gpio/gpio-vr41xx.c
@@ -552,7 +552,7 @@ static int giu_probe(struct platform_device *pdev)
552 return cascade_irq(irq, giu_get_irq); 552 return cascade_irq(irq, giu_get_irq);
553} 553}
554 554
555static int __devexit giu_remove(struct platform_device *pdev) 555static int giu_remove(struct platform_device *pdev)
556{ 556{
557 if (giu_base) { 557 if (giu_base) {
558 iounmap(giu_base); 558 iounmap(giu_base);
diff --git a/drivers/gpio/gpio-vx855.c b/drivers/gpio/gpio-vx855.c
index 90dd23b0af8a..2b7252cb2427 100644
--- a/drivers/gpio/gpio-vx855.c
+++ b/drivers/gpio/gpio-vx855.c
@@ -284,7 +284,7 @@ out_release:
284 return ret; 284 return ret;
285} 285}
286 286
287static int __devexit vx855gpio_remove(struct platform_device *pdev) 287static int vx855gpio_remove(struct platform_device *pdev)
288{ 288{
289 struct vx855_gpio *vg = platform_get_drvdata(pdev); 289 struct vx855_gpio *vg = platform_get_drvdata(pdev);
290 struct resource *res; 290 struct resource *res;
diff --git a/drivers/gpio/gpio-wm831x.c b/drivers/gpio/gpio-wm831x.c
index 8182145ea29b..2a743e10ecb6 100644
--- a/drivers/gpio/gpio-wm831x.c
+++ b/drivers/gpio/gpio-wm831x.c
@@ -275,7 +275,7 @@ static int wm831x_gpio_probe(struct platform_device *pdev)
275 return ret; 275 return ret;
276} 276}
277 277
278static int __devexit wm831x_gpio_remove(struct platform_device *pdev) 278static int wm831x_gpio_remove(struct platform_device *pdev)
279{ 279{
280 struct wm831x_gpio *wm831x_gpio = platform_get_drvdata(pdev); 280 struct wm831x_gpio *wm831x_gpio = platform_get_drvdata(pdev);
281 281
diff --git a/drivers/gpio/gpio-wm8350.c b/drivers/gpio/gpio-wm8350.c
index 2b99fc3fadd0..0b598cf3df9d 100644
--- a/drivers/gpio/gpio-wm8350.c
+++ b/drivers/gpio/gpio-wm8350.c
@@ -141,7 +141,7 @@ static int wm8350_gpio_probe(struct platform_device *pdev)
141 return ret; 141 return ret;
142} 142}
143 143
144static int __devexit wm8350_gpio_remove(struct platform_device *pdev) 144static int wm8350_gpio_remove(struct platform_device *pdev)
145{ 145{
146 struct wm8350_gpio_data *wm8350_gpio = platform_get_drvdata(pdev); 146 struct wm8350_gpio_data *wm8350_gpio = platform_get_drvdata(pdev);
147 147
diff --git a/drivers/gpio/gpio-wm8994.c b/drivers/gpio/gpio-wm8994.c
index fc3917889dab..ae409fd94af7 100644
--- a/drivers/gpio/gpio-wm8994.c
+++ b/drivers/gpio/gpio-wm8994.c
@@ -281,7 +281,7 @@ err:
281 return ret; 281 return ret;
282} 282}
283 283
284static int __devexit wm8994_gpio_remove(struct platform_device *pdev) 284static int wm8994_gpio_remove(struct platform_device *pdev)
285{ 285{
286 struct wm8994_gpio *wm8994_gpio = platform_get_drvdata(pdev); 286 struct wm8994_gpio *wm8994_gpio = platform_get_drvdata(pdev);
287 287