aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:22:34 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 14:39:33 -0500
commit3836309d93462bbf34851c078be6e5e77d888e3d (patch)
tree5b391233266d03b38f7840f960b88c3685331ff4 /drivers/gpio
parent8283c4ff57bdf3c1d8985c86e4ef44e1bb70f1f6 (diff)
gpio: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit 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> Cc: Santosh Shilimkar <santosh.shilimkar@ti.com> Cc: Kevin Hilman <khilman@ti.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>
Diffstat (limited to 'drivers/gpio')
-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-ep93xx.c2
-rw-r--r--drivers/gpio/gpio-generic.c2
-rw-r--r--drivers/gpio/gpio-ich.c6
-rw-r--r--drivers/gpio/gpio-janz-ttl.c6
-rw-r--r--drivers/gpio/gpio-langwell.c4
-rw-r--r--drivers/gpio/gpio-lpc32xx.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.c4
-rw-r--r--drivers/gpio/gpio-mc33880.c2
-rw-r--r--drivers/gpio/gpio-mcp23s08.c2
-rw-r--r--drivers/gpio/gpio-ml-ioh.c4
-rw-r--r--drivers/gpio/gpio-mpc5200.c4
-rw-r--r--drivers/gpio/gpio-msic.c2
-rw-r--r--drivers/gpio/gpio-msm-v2.c2
-rw-r--r--drivers/gpio/gpio-mvebu.c2
-rw-r--r--drivers/gpio/gpio-mxc.c4
-rw-r--r--drivers/gpio/gpio-mxs.c2
-rw-r--r--drivers/gpio/gpio-omap.c6
-rw-r--r--drivers/gpio/gpio-pca953x.c6
-rw-r--r--drivers/gpio/gpio-pch.c4
-rw-r--r--drivers/gpio/gpio-pxa.c6
-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-sodaville.c4
-rw-r--r--drivers/gpio/gpio-sta2x11.c4
-rw-r--r--drivers/gpio/gpio-stmpe.c4
-rw-r--r--drivers/gpio/gpio-stp-xway.c2
-rw-r--r--drivers/gpio/gpio-sx150x.c2
-rw-r--r--drivers/gpio/gpio-tc3589x.c2
-rw-r--r--drivers/gpio/gpio-tegra.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.c6
-rw-r--r--drivers/gpio/gpio-twl6040.c2
-rw-r--r--drivers/gpio/gpio-vr41xx.c2
-rw-r--r--drivers/gpio/gpio-vt8500.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
-rw-r--r--drivers/gpio/gpio-xilinx.c2
55 files changed, 76 insertions, 76 deletions
diff --git a/drivers/gpio/gpio-74x164.c b/drivers/gpio/gpio-74x164.c
index ee1cb30e7608..2e6df4180dea 100644
--- a/drivers/gpio/gpio-74x164.c
+++ b/drivers/gpio/gpio-74x164.c
@@ -105,7 +105,7 @@ static int gen_74x164_direction_output(struct gpio_chip *gc,
105 return 0; 105 return 0;
106} 106}
107 107
108static int __devinit gen_74x164_probe(struct spi_device *spi) 108static int gen_74x164_probe(struct spi_device *spi)
109{ 109{
110 struct gen_74x164_chip *chip; 110 struct gen_74x164_chip *chip;
111 struct gen_74x164_chip_platform_data *pdata; 111 struct gen_74x164_chip_platform_data *pdata;
diff --git a/drivers/gpio/gpio-ab8500.c b/drivers/gpio/gpio-ab8500.c
index 48c3babbf3c6..0a636de39989 100644
--- a/drivers/gpio/gpio-ab8500.c
+++ b/drivers/gpio/gpio-ab8500.c
@@ -402,7 +402,7 @@ static void ab8500_gpio_irq_remove(struct ab8500_gpio *ab8500_gpio)
402 } 402 }
403} 403}
404 404
405static int __devinit ab8500_gpio_probe(struct platform_device *pdev) 405static int ab8500_gpio_probe(struct platform_device *pdev)
406{ 406{
407 struct ab8500_platform_data *ab8500_pdata = 407 struct ab8500_platform_data *ab8500_pdata =
408 dev_get_platdata(pdev->dev.parent); 408 dev_get_platdata(pdev->dev.parent);
diff --git a/drivers/gpio/gpio-adnp.c b/drivers/gpio/gpio-adnp.c
index 9796b9cbde89..9f23684d1cfc 100644
--- a/drivers/gpio/gpio-adnp.c
+++ b/drivers/gpio/gpio-adnp.c
@@ -516,7 +516,7 @@ static void adnp_irq_teardown(struct adnp *adnp)
516 irq_domain_remove(adnp->domain); 516 irq_domain_remove(adnp->domain);
517} 517}
518 518
519static __devinit int adnp_i2c_probe(struct i2c_client *client, 519static int adnp_i2c_probe(struct i2c_client *client,
520 const struct i2c_device_id *id) 520 const struct i2c_device_id *id)
521{ 521{
522 struct device_node *np = client->dev.of_node; 522 struct device_node *np = client->dev.of_node;
diff --git a/drivers/gpio/gpio-adp5520.c b/drivers/gpio/gpio-adp5520.c
index fc01e6d8c46b..b9fac75b4ddd 100644
--- a/drivers/gpio/gpio-adp5520.c
+++ b/drivers/gpio/gpio-adp5520.c
@@ -87,7 +87,7 @@ static int adp5520_gpio_direction_output(struct gpio_chip *chip,
87 return ret; 87 return ret;
88} 88}
89 89
90static int __devinit adp5520_gpio_probe(struct platform_device *pdev) 90static int adp5520_gpio_probe(struct platform_device *pdev)
91{ 91{
92 struct adp5520_gpio_platform_data *pdata = pdev->dev.platform_data; 92 struct adp5520_gpio_platform_data *pdata = pdev->dev.platform_data;
93 struct adp5520_gpio *dev; 93 struct adp5520_gpio *dev;
diff --git a/drivers/gpio/gpio-adp5588.c b/drivers/gpio/gpio-adp5588.c
index f762269cb624..27001ec3bcbb 100644
--- a/drivers/gpio/gpio-adp5588.c
+++ b/drivers/gpio/gpio-adp5588.c
@@ -346,7 +346,7 @@ static void adp5588_irq_teardown(struct adp5588_gpio *dev)
346} 346}
347#endif /* CONFIG_GPIO_ADP5588_IRQ */ 347#endif /* CONFIG_GPIO_ADP5588_IRQ */
348 348
349static int __devinit adp5588_gpio_probe(struct i2c_client *client, 349static int adp5588_gpio_probe(struct i2c_client *client,
350 const struct i2c_device_id *id) 350 const struct i2c_device_id *id)
351{ 351{
352 struct adp5588_gpio_platform_data *pdata = client->dev.platform_data; 352 struct adp5588_gpio_platform_data *pdata = client->dev.platform_data;
diff --git a/drivers/gpio/gpio-arizona.c b/drivers/gpio/gpio-arizona.c
index a406573259ad..0a76fb0f66ce 100644
--- a/drivers/gpio/gpio-arizona.c
+++ b/drivers/gpio/gpio-arizona.c
@@ -94,7 +94,7 @@ static struct gpio_chip template_chip = {
94 .can_sleep = 1, 94 .can_sleep = 1,
95}; 95};
96 96
97static int __devinit arizona_gpio_probe(struct platform_device *pdev) 97static int arizona_gpio_probe(struct platform_device *pdev)
98{ 98{
99 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); 99 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent);
100 struct arizona_pdata *pdata = arizona->dev->platform_data; 100 struct arizona_pdata *pdata = arizona->dev->platform_data;
diff --git a/drivers/gpio/gpio-cs5535.c b/drivers/gpio/gpio-cs5535.c
index 00f98f934d36..d4a6d82d7a3e 100644
--- a/drivers/gpio/gpio-cs5535.c
+++ b/drivers/gpio/gpio-cs5535.c
@@ -300,7 +300,7 @@ static struct cs5535_gpio_chip cs5535_gpio_chip = {
300 }, 300 },
301}; 301};
302 302
303static int __devinit cs5535_gpio_probe(struct platform_device *pdev) 303static int cs5535_gpio_probe(struct platform_device *pdev)
304{ 304{
305 struct resource *res; 305 struct resource *res;
306 int err = -EIO; 306 int err = -EIO;
diff --git a/drivers/gpio/gpio-da9052.c b/drivers/gpio/gpio-da9052.c
index 9f5824dfd606..5d2bc81d6f84 100644
--- a/drivers/gpio/gpio-da9052.c
+++ b/drivers/gpio/gpio-da9052.c
@@ -201,7 +201,7 @@ static struct gpio_chip reference_gp __devinitdata = {
201 .base = -1, 201 .base = -1,
202}; 202};
203 203
204static int __devinit da9052_gpio_probe(struct platform_device *pdev) 204static int da9052_gpio_probe(struct platform_device *pdev)
205{ 205{
206 struct da9052_gpio *gpio; 206 struct da9052_gpio *gpio;
207 struct da9052_pdata *pdata; 207 struct da9052_pdata *pdata;
diff --git a/drivers/gpio/gpio-em.c b/drivers/gpio/gpio-em.c
index e246165864ac..6253a05349ef 100644
--- a/drivers/gpio/gpio-em.c
+++ b/drivers/gpio/gpio-em.c
@@ -268,7 +268,7 @@ static void em_gio_irq_domain_cleanup(struct em_gio_priv *p)
268 /* FIXME: irq domain wants to be freed! */ 268 /* FIXME: irq domain wants to be freed! */
269} 269}
270 270
271static int __devinit em_gio_probe(struct platform_device *pdev) 271static int em_gio_probe(struct platform_device *pdev)
272{ 272{
273 struct gpio_em_config *pdata = pdev->dev.platform_data; 273 struct gpio_em_config *pdata = pdev->dev.platform_data;
274 struct em_gio_priv *p; 274 struct em_gio_priv *p;
diff --git a/drivers/gpio/gpio-ep93xx.c b/drivers/gpio/gpio-ep93xx.c
index 9fe5b8fe9be8..56b98eebe1fc 100644
--- a/drivers/gpio/gpio-ep93xx.c
+++ b/drivers/gpio/gpio-ep93xx.c
@@ -340,7 +340,7 @@ static int ep93xx_gpio_add_bank(struct bgpio_chip *bgc, struct device *dev,
340 return gpiochip_add(&bgc->gc); 340 return gpiochip_add(&bgc->gc);
341} 341}
342 342
343static int __devinit ep93xx_gpio_probe(struct platform_device *pdev) 343static int ep93xx_gpio_probe(struct platform_device *pdev)
344{ 344{
345 struct ep93xx_gpio *ep93xx_gpio; 345 struct ep93xx_gpio *ep93xx_gpio;
346 struct resource *res; 346 struct resource *res;
diff --git a/drivers/gpio/gpio-generic.c b/drivers/gpio/gpio-generic.c
index 983f0f2a85f4..be3759648149 100644
--- a/drivers/gpio/gpio-generic.c
+++ b/drivers/gpio/gpio-generic.c
@@ -444,7 +444,7 @@ static void __iomem *bgpio_map(struct platform_device *pdev,
444 return ret; 444 return ret;
445} 445}
446 446
447static int __devinit bgpio_pdev_probe(struct platform_device *pdev) 447static int bgpio_pdev_probe(struct platform_device *pdev)
448{ 448{
449 struct device *dev = &pdev->dev; 449 struct device *dev = &pdev->dev;
450 struct resource *r; 450 struct resource *r;
diff --git a/drivers/gpio/gpio-ich.c b/drivers/gpio/gpio-ich.c
index c230263302ca..3ff9ff671e31 100644
--- a/drivers/gpio/gpio-ich.c
+++ b/drivers/gpio/gpio-ich.c
@@ -238,7 +238,7 @@ static void ichx_gpio_set(struct gpio_chip *chip, unsigned nr, int val)
238 ichx_write_bit(GPIO_LVL, nr, val, 0); 238 ichx_write_bit(GPIO_LVL, nr, val, 0);
239} 239}
240 240
241static void __devinit ichx_gpiolib_setup(struct gpio_chip *chip) 241static void ichx_gpiolib_setup(struct gpio_chip *chip)
242{ 242{
243 chip->owner = THIS_MODULE; 243 chip->owner = THIS_MODULE;
244 chip->label = DRV_NAME; 244 chip->label = DRV_NAME;
@@ -313,7 +313,7 @@ static struct ichx_desc intel5_desc = {
313 .ngpio = 76, 313 .ngpio = 76,
314}; 314};
315 315
316static int __devinit ichx_gpio_request_regions(struct resource *res_base, 316static int ichx_gpio_request_regions(struct resource *res_base,
317 const char *name, u8 use_gpio) 317 const char *name, u8 use_gpio)
318{ 318{
319 int i; 319 int i;
@@ -353,7 +353,7 @@ static void ichx_gpio_release_regions(struct resource *res_base, u8 use_gpio)
353 } 353 }
354} 354}
355 355
356static int __devinit ichx_gpio_probe(struct platform_device *pdev) 356static int ichx_gpio_probe(struct platform_device *pdev)
357{ 357{
358 struct resource *res_base, *res_pm; 358 struct resource *res_base, *res_pm;
359 int err; 359 int err;
diff --git a/drivers/gpio/gpio-janz-ttl.c b/drivers/gpio/gpio-janz-ttl.c
index 365dd040445b..cd28270672f2 100644
--- a/drivers/gpio/gpio-janz-ttl.c
+++ b/drivers/gpio/gpio-janz-ttl.c
@@ -108,13 +108,13 @@ static void ttl_set_value(struct gpio_chip *gpio, unsigned offset, int value)
108 spin_unlock(&mod->lock); 108 spin_unlock(&mod->lock);
109} 109}
110 110
111static void __devinit ttl_write_reg(struct ttl_module *mod, u8 reg, u16 val) 111static void ttl_write_reg(struct ttl_module *mod, u8 reg, u16 val)
112{ 112{
113 iowrite16be(reg, &mod->regs->control); 113 iowrite16be(reg, &mod->regs->control);
114 iowrite16be(val, &mod->regs->control); 114 iowrite16be(val, &mod->regs->control);
115} 115}
116 116
117static void __devinit ttl_setup_device(struct ttl_module *mod) 117static void ttl_setup_device(struct ttl_module *mod)
118{ 118{
119 /* reset the device to a known state */ 119 /* reset the device to a known state */
120 iowrite16be(0x0000, &mod->regs->control); 120 iowrite16be(0x0000, &mod->regs->control);
@@ -140,7 +140,7 @@ static void __devinit ttl_setup_device(struct ttl_module *mod)
140 ttl_write_reg(mod, MASTER_CONF_CTL, CONF_PAE | CONF_PBE | CONF_PCE); 140 ttl_write_reg(mod, MASTER_CONF_CTL, CONF_PAE | CONF_PBE | CONF_PCE);
141} 141}
142 142
143static int __devinit ttl_probe(struct platform_device *pdev) 143static int ttl_probe(struct platform_device *pdev)
144{ 144{
145 struct janz_platform_data *pdata; 145 struct janz_platform_data *pdata;
146 struct device *dev = &pdev->dev; 146 struct device *dev = &pdev->dev;
diff --git a/drivers/gpio/gpio-langwell.c b/drivers/gpio/gpio-langwell.c
index b8158967eac3..a3bf90d4e93b 100644
--- a/drivers/gpio/gpio-langwell.c
+++ b/drivers/gpio/gpio-langwell.c
@@ -332,7 +332,7 @@ static const struct dev_pm_ops lnw_gpio_pm_ops = {
332 .runtime_idle = lnw_gpio_runtime_idle, 332 .runtime_idle = lnw_gpio_runtime_idle,
333}; 333};
334 334
335static int __devinit lnw_gpio_probe(struct pci_dev *pdev, 335static int lnw_gpio_probe(struct pci_dev *pdev,
336 const struct pci_device_id *id) 336 const struct pci_device_id *id)
337{ 337{
338 void *base; 338 void *base;
@@ -435,7 +435,7 @@ static struct pci_driver lnw_gpio_driver = {
435}; 435};
436 436
437 437
438static int __devinit wp_gpio_probe(struct platform_device *pdev) 438static int wp_gpio_probe(struct platform_device *pdev)
439{ 439{
440 struct lnw_gpio *lnw; 440 struct lnw_gpio *lnw;
441 struct gpio_chip *gc; 441 struct gpio_chip *gc;
diff --git a/drivers/gpio/gpio-lpc32xx.c b/drivers/gpio/gpio-lpc32xx.c
index 3644e0dcb3dd..9f676f4629f1 100644
--- a/drivers/gpio/gpio-lpc32xx.c
+++ b/drivers/gpio/gpio-lpc32xx.c
@@ -542,7 +542,7 @@ static int lpc32xx_of_xlate(struct gpio_chip *gc,
542 return gpiospec->args[1]; 542 return gpiospec->args[1];
543} 543}
544 544
545static int __devinit lpc32xx_gpio_probe(struct platform_device *pdev) 545static int lpc32xx_gpio_probe(struct platform_device *pdev)
546{ 546{
547 int i; 547 int i;
548 548
diff --git a/drivers/gpio/gpio-max7300.c b/drivers/gpio/gpio-max7300.c
index 869235f95e86..5c92414e4d60 100644
--- a/drivers/gpio/gpio-max7300.c
+++ b/drivers/gpio/gpio-max7300.c
@@ -31,7 +31,7 @@ static int max7300_i2c_read(struct device *dev, unsigned int reg)
31 return i2c_smbus_read_byte_data(client, reg); 31 return i2c_smbus_read_byte_data(client, reg);
32} 32}
33 33
34static int __devinit max7300_probe(struct i2c_client *client, 34static int max7300_probe(struct i2c_client *client,
35 const struct i2c_device_id *id) 35 const struct i2c_device_id *id)
36{ 36{
37 struct max7301 *ts; 37 struct max7301 *ts;
diff --git a/drivers/gpio/gpio-max7301.c b/drivers/gpio/gpio-max7301.c
index 31bf49d73f5f..cf5d5b3a0e0b 100644
--- a/drivers/gpio/gpio-max7301.c
+++ b/drivers/gpio/gpio-max7301.c
@@ -50,7 +50,7 @@ static int max7301_spi_read(struct device *dev, unsigned int reg)
50 return word & 0xff; 50 return word & 0xff;
51} 51}
52 52
53static int __devinit max7301_probe(struct spi_device *spi) 53static int max7301_probe(struct spi_device *spi)
54{ 54{
55 struct max7301 *ts; 55 struct max7301 *ts;
56 int ret; 56 int ret;
diff --git a/drivers/gpio/gpio-max730x.c b/drivers/gpio/gpio-max730x.c
index 05e2dac60b3b..91b4f45ef042 100644
--- a/drivers/gpio/gpio-max730x.c
+++ b/drivers/gpio/gpio-max730x.c
@@ -160,7 +160,7 @@ static void max7301_set(struct gpio_chip *chip, unsigned offset, int value)
160 mutex_unlock(&ts->lock); 160 mutex_unlock(&ts->lock);
161} 161}
162 162
163int __devinit __max730x_probe(struct max7301 *ts) 163int __max730x_probe(struct max7301 *ts)
164{ 164{
165 struct device *dev = ts->dev; 165 struct device *dev = ts->dev;
166 struct max7301_platform_data *pdata; 166 struct max7301_platform_data *pdata;
diff --git a/drivers/gpio/gpio-max732x.c b/drivers/gpio/gpio-max732x.c
index 67ef5eae87cd..5edd2cb3b4a7 100644
--- a/drivers/gpio/gpio-max732x.c
+++ b/drivers/gpio/gpio-max732x.c
@@ -526,7 +526,7 @@ static void max732x_irq_teardown(struct max732x_chip *chip)
526} 526}
527#endif 527#endif
528 528
529static int __devinit max732x_setup_gpio(struct max732x_chip *chip, 529static int max732x_setup_gpio(struct max732x_chip *chip,
530 const struct i2c_device_id *id, 530 const struct i2c_device_id *id,
531 unsigned gpio_start) 531 unsigned gpio_start)
532{ 532{
@@ -574,7 +574,7 @@ static int __devinit max732x_setup_gpio(struct max732x_chip *chip,
574 return port; 574 return port;
575} 575}
576 576
577static int __devinit max732x_probe(struct i2c_client *client, 577static int max732x_probe(struct i2c_client *client,
578 const struct i2c_device_id *id) 578 const struct i2c_device_id *id)
579{ 579{
580 struct max732x_platform_data *pdata; 580 struct max732x_platform_data *pdata;
diff --git a/drivers/gpio/gpio-mc33880.c b/drivers/gpio/gpio-mc33880.c
index c6572e1de333..79fc430de247 100644
--- a/drivers/gpio/gpio-mc33880.c
+++ b/drivers/gpio/gpio-mc33880.c
@@ -80,7 +80,7 @@ static void mc33880_set(struct gpio_chip *chip, unsigned offset, int value)
80 mutex_unlock(&mc->lock); 80 mutex_unlock(&mc->lock);
81} 81}
82 82
83static int __devinit mc33880_probe(struct spi_device *spi) 83static int mc33880_probe(struct spi_device *spi)
84{ 84{
85 struct mc33880 *mc; 85 struct mc33880 *mc;
86 struct mc33880_platform_data *pdata; 86 struct mc33880_platform_data *pdata;
diff --git a/drivers/gpio/gpio-mcp23s08.c b/drivers/gpio/gpio-mcp23s08.c
index 47b6002a73f5..45079aeb60bc 100644
--- a/drivers/gpio/gpio-mcp23s08.c
+++ b/drivers/gpio/gpio-mcp23s08.c
@@ -475,7 +475,7 @@ fail:
475 475
476#ifdef CONFIG_I2C 476#ifdef CONFIG_I2C
477 477
478static int __devinit mcp230xx_probe(struct i2c_client *client, 478static int mcp230xx_probe(struct i2c_client *client,
479 const struct i2c_device_id *id) 479 const struct i2c_device_id *id)
480{ 480{
481 struct mcp23s08_platform_data *pdata; 481 struct mcp23s08_platform_data *pdata;
diff --git a/drivers/gpio/gpio-ml-ioh.c b/drivers/gpio/gpio-ml-ioh.c
index c824b5d1acd3..934b9bce6282 100644
--- a/drivers/gpio/gpio-ml-ioh.c
+++ b/drivers/gpio/gpio-ml-ioh.c
@@ -385,7 +385,7 @@ static irqreturn_t ioh_gpio_handler(int irq, void *dev_id)
385 return ret; 385 return ret;
386} 386}
387 387
388static __devinit void ioh_gpio_alloc_generic_chip(struct ioh_gpio *chip, 388static void ioh_gpio_alloc_generic_chip(struct ioh_gpio *chip,
389 unsigned int irq_start, unsigned int num) 389 unsigned int irq_start, unsigned int num)
390{ 390{
391 struct irq_chip_generic *gc; 391 struct irq_chip_generic *gc;
@@ -406,7 +406,7 @@ static __devinit void ioh_gpio_alloc_generic_chip(struct ioh_gpio *chip,
406 IRQ_NOREQUEST | IRQ_NOPROBE, 0); 406 IRQ_NOREQUEST | IRQ_NOPROBE, 0);
407} 407}
408 408
409static int __devinit ioh_gpio_probe(struct pci_dev *pdev, 409static int ioh_gpio_probe(struct pci_dev *pdev,
410 const struct pci_device_id *id) 410 const struct pci_device_id *id)
411{ 411{
412 int ret; 412 int ret;
diff --git a/drivers/gpio/gpio-mpc5200.c b/drivers/gpio/gpio-mpc5200.c
index 2c7cef367fc0..42647f26c9e0 100644
--- a/drivers/gpio/gpio-mpc5200.c
+++ b/drivers/gpio/gpio-mpc5200.c
@@ -148,7 +148,7 @@ mpc52xx_wkup_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val)
148 return 0; 148 return 0;
149} 149}
150 150
151static int __devinit mpc52xx_wkup_gpiochip_probe(struct platform_device *ofdev) 151static int mpc52xx_wkup_gpiochip_probe(struct platform_device *ofdev)
152{ 152{
153 struct mpc52xx_gpiochip *chip; 153 struct mpc52xx_gpiochip *chip;
154 struct mpc52xx_gpio_wkup __iomem *regs; 154 struct mpc52xx_gpio_wkup __iomem *regs;
@@ -308,7 +308,7 @@ mpc52xx_simple_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val)
308 return 0; 308 return 0;
309} 309}
310 310
311static int __devinit mpc52xx_simple_gpiochip_probe(struct platform_device *ofdev) 311static int mpc52xx_simple_gpiochip_probe(struct platform_device *ofdev)
312{ 312{
313 struct mpc52xx_gpiochip *chip; 313 struct mpc52xx_gpiochip *chip;
314 struct gpio_chip *gc; 314 struct gpio_chip *gc;
diff --git a/drivers/gpio/gpio-msic.c b/drivers/gpio/gpio-msic.c
index b38986285868..27ea7b9257ff 100644
--- a/drivers/gpio/gpio-msic.c
+++ b/drivers/gpio/gpio-msic.c
@@ -256,7 +256,7 @@ static void msic_gpio_irq_handler(unsigned irq, struct irq_desc *desc)
256 chip->irq_eoi(data); 256 chip->irq_eoi(data);
257} 257}
258 258
259static int __devinit platform_msic_gpio_probe(struct platform_device *pdev) 259static int platform_msic_gpio_probe(struct platform_device *pdev)
260{ 260{
261 struct device *dev = &pdev->dev; 261 struct device *dev = &pdev->dev;
262 struct intel_msic_gpio_pdata *pdata = dev->platform_data; 262 struct intel_msic_gpio_pdata *pdata = dev->platform_data;
diff --git a/drivers/gpio/gpio-msm-v2.c b/drivers/gpio/gpio-msm-v2.c
index 26f5122330c2..5451bec942ef 100644
--- a/drivers/gpio/gpio-msm-v2.c
+++ b/drivers/gpio/gpio-msm-v2.c
@@ -352,7 +352,7 @@ static struct irq_chip msm_gpio_irq_chip = {
352 .irq_set_wake = msm_gpio_irq_set_wake, 352 .irq_set_wake = msm_gpio_irq_set_wake,
353}; 353};
354 354
355static int __devinit msm_gpio_probe(struct platform_device *dev) 355static int msm_gpio_probe(struct platform_device *dev)
356{ 356{
357 int i, irq, ret; 357 int i, irq, ret;
358 358
diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-mvebu.c
index cf7afb9eb61a..88ad416c2bb0 100644
--- a/drivers/gpio/gpio-mvebu.c
+++ b/drivers/gpio/gpio-mvebu.c
@@ -478,7 +478,7 @@ static struct of_device_id mvebu_gpio_of_match[] __devinitdata = {
478}; 478};
479MODULE_DEVICE_TABLE(of, mvebu_gpio_of_match); 479MODULE_DEVICE_TABLE(of, mvebu_gpio_of_match);
480 480
481static int __devinit mvebu_gpio_probe(struct platform_device *pdev) 481static int mvebu_gpio_probe(struct platform_device *pdev)
482{ 482{
483 struct mvebu_gpio_chip *mvchip; 483 struct mvebu_gpio_chip *mvchip;
484 const struct of_device_id *match; 484 const struct of_device_id *match;
diff --git a/drivers/gpio/gpio-mxc.c b/drivers/gpio/gpio-mxc.c
index 80f44bb64a87..7877335c4cc8 100644
--- a/drivers/gpio/gpio-mxc.c
+++ b/drivers/gpio/gpio-mxc.c
@@ -356,7 +356,7 @@ static void __init mxc_gpio_init_gc(struct mxc_gpio_port *port, int irq_base)
356 IRQ_NOREQUEST, 0); 356 IRQ_NOREQUEST, 0);
357} 357}
358 358
359static void __devinit mxc_gpio_get_hw(struct platform_device *pdev) 359static void mxc_gpio_get_hw(struct platform_device *pdev)
360{ 360{
361 const struct of_device_id *of_id = 361 const struct of_device_id *of_id =
362 of_match_device(mxc_gpio_dt_ids, &pdev->dev); 362 of_match_device(mxc_gpio_dt_ids, &pdev->dev);
@@ -395,7 +395,7 @@ static int mxc_gpio_to_irq(struct gpio_chip *gc, unsigned offset)
395 return irq_find_mapping(port->domain, offset); 395 return irq_find_mapping(port->domain, offset);
396} 396}
397 397
398static int __devinit mxc_gpio_probe(struct platform_device *pdev) 398static int mxc_gpio_probe(struct platform_device *pdev)
399{ 399{
400 struct device_node *np = pdev->dev.of_node; 400 struct device_node *np = pdev->dev.of_node;
401 struct mxc_gpio_port *port; 401 struct mxc_gpio_port *port;
diff --git a/drivers/gpio/gpio-mxs.c b/drivers/gpio/gpio-mxs.c
index 796fb13e4815..fa2a63cad32e 100644
--- a/drivers/gpio/gpio-mxs.c
+++ b/drivers/gpio/gpio-mxs.c
@@ -214,7 +214,7 @@ static const struct of_device_id mxs_gpio_dt_ids[] = {
214}; 214};
215MODULE_DEVICE_TABLE(of, mxs_gpio_dt_ids); 215MODULE_DEVICE_TABLE(of, mxs_gpio_dt_ids);
216 216
217static int __devinit mxs_gpio_probe(struct platform_device *pdev) 217static int mxs_gpio_probe(struct platform_device *pdev)
218{ 218{
219 const struct of_device_id *of_id = 219 const struct of_device_id *of_id =
220 of_match_device(mxs_gpio_dt_ids, &pdev->dev); 220 of_match_device(mxs_gpio_dt_ids, &pdev->dev);
diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c
index d335af1d4d85..148a4f23d118 100644
--- a/drivers/gpio/gpio-omap.c
+++ b/drivers/gpio/gpio-omap.c
@@ -1012,7 +1012,7 @@ static void omap_gpio_mod_init(struct gpio_bank *bank)
1012 dev_err(bank->dev, "Could not get gpio dbck\n"); 1012 dev_err(bank->dev, "Could not get gpio dbck\n");
1013} 1013}
1014 1014
1015static __devinit void 1015static void
1016omap_mpuio_alloc_gc(struct gpio_bank *bank, unsigned int irq_start, 1016omap_mpuio_alloc_gc(struct gpio_bank *bank, unsigned int irq_start,
1017 unsigned int num) 1017 unsigned int num)
1018{ 1018{
@@ -1041,7 +1041,7 @@ omap_mpuio_alloc_gc(struct gpio_bank *bank, unsigned int irq_start,
1041 IRQ_NOREQUEST | IRQ_NOPROBE, 0); 1041 IRQ_NOREQUEST | IRQ_NOPROBE, 0);
1042} 1042}
1043 1043
1044static void __devinit omap_gpio_chip_init(struct gpio_bank *bank) 1044static void omap_gpio_chip_init(struct gpio_bank *bank)
1045{ 1045{
1046 int j; 1046 int j;
1047 static int gpio; 1047 static int gpio;
@@ -1089,7 +1089,7 @@ static void __devinit omap_gpio_chip_init(struct gpio_bank *bank)
1089 1089
1090static const struct of_device_id omap_gpio_match[]; 1090static const struct of_device_id omap_gpio_match[];
1091 1091
1092static int __devinit omap_gpio_probe(struct platform_device *pdev) 1092static int omap_gpio_probe(struct platform_device *pdev)
1093{ 1093{
1094 struct device *dev = &pdev->dev; 1094 struct device *dev = &pdev->dev;
1095 struct device_node *node = dev->of_node; 1095 struct device_node *node = dev->of_node;
diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c
index 9c693ae17956..fff7c2be58f9 100644
--- a/drivers/gpio/gpio-pca953x.c
+++ b/drivers/gpio/gpio-pca953x.c
@@ -602,7 +602,7 @@ pca953x_get_alt_pdata(struct i2c_client *client, int *gpio_base, u32 *invert)
602} 602}
603#endif 603#endif
604 604
605static int __devinit device_pca953x_init(struct pca953x_chip *chip, u32 invert) 605static int device_pca953x_init(struct pca953x_chip *chip, u32 invert)
606{ 606{
607 int ret; 607 int ret;
608 608
@@ -621,7 +621,7 @@ out:
621 return ret; 621 return ret;
622} 622}
623 623
624static int __devinit device_pca957x_init(struct pca953x_chip *chip, u32 invert) 624static int device_pca957x_init(struct pca953x_chip *chip, u32 invert)
625{ 625{
626 int ret; 626 int ret;
627 u32 val = 0; 627 u32 val = 0;
@@ -652,7 +652,7 @@ out:
652 return ret; 652 return ret;
653} 653}
654 654
655static int __devinit pca953x_probe(struct i2c_client *client, 655static int pca953x_probe(struct i2c_client *client,
656 const struct i2c_device_id *id) 656 const struct i2c_device_id *id)
657{ 657{
658 struct pca953x_platform_data *pdata; 658 struct pca953x_platform_data *pdata;
diff --git a/drivers/gpio/gpio-pch.c b/drivers/gpio/gpio-pch.c
index d693560cde4f..09568a4b7799 100644
--- a/drivers/gpio/gpio-pch.c
+++ b/drivers/gpio/gpio-pch.c
@@ -325,7 +325,7 @@ static irqreturn_t pch_gpio_handler(int irq, void *dev_id)
325 return ret; 325 return ret;
326} 326}
327 327
328static __devinit void pch_gpio_alloc_generic_chip(struct pch_gpio *chip, 328static void pch_gpio_alloc_generic_chip(struct pch_gpio *chip,
329 unsigned int irq_start, unsigned int num) 329 unsigned int irq_start, unsigned int num)
330{ 330{
331 struct irq_chip_generic *gc; 331 struct irq_chip_generic *gc;
@@ -345,7 +345,7 @@ static __devinit void pch_gpio_alloc_generic_chip(struct pch_gpio *chip,
345 IRQ_NOREQUEST | IRQ_NOPROBE, 0); 345 IRQ_NOREQUEST | IRQ_NOPROBE, 0);
346} 346}
347 347
348static int __devinit pch_gpio_probe(struct pci_dev *pdev, 348static int pch_gpio_probe(struct pci_dev *pdev,
349 const struct pci_device_id *id) 349 const struct pci_device_id *id)
350{ 350{
351 s32 ret; 351 s32 ret;
diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c
index 98d52cb3fd1a..3e35243c136f 100644
--- a/drivers/gpio/gpio-pxa.c
+++ b/drivers/gpio/gpio-pxa.c
@@ -250,7 +250,7 @@ static int pxa_gpio_of_xlate(struct gpio_chip *gc,
250} 250}
251#endif 251#endif
252 252
253static int __devinit pxa_init_gpio_chip(int gpio_end, 253static int pxa_init_gpio_chip(int gpio_end,
254 int (*set_wake)(unsigned int, unsigned int)) 254 int (*set_wake)(unsigned int, unsigned int))
255{ 255{
256 int i, gpio, nbanks = gpio_to_bank(gpio_end) + 1; 256 int i, gpio, nbanks = gpio_to_bank(gpio_end) + 1;
@@ -490,7 +490,7 @@ const struct irq_domain_ops pxa_irq_domain_ops = {
490 .xlate = irq_domain_xlate_twocell, 490 .xlate = irq_domain_xlate_twocell,
491}; 491};
492 492
493static int __devinit pxa_gpio_probe_dt(struct platform_device *pdev) 493static int pxa_gpio_probe_dt(struct platform_device *pdev)
494{ 494{
495 int ret, nr_banks, nr_gpios; 495 int ret, nr_banks, nr_gpios;
496 struct device_node *prev, *next, *np = pdev->dev.of_node; 496 struct device_node *prev, *next, *np = pdev->dev.of_node;
@@ -537,7 +537,7 @@ err:
537#define pxa_gpio_probe_dt(pdev) (-1) 537#define pxa_gpio_probe_dt(pdev) (-1)
538#endif 538#endif
539 539
540static int __devinit pxa_gpio_probe(struct platform_device *pdev) 540static int pxa_gpio_probe(struct platform_device *pdev)
541{ 541{
542 struct pxa_gpio_chip *c; 542 struct pxa_gpio_chip *c;
543 struct resource *res; 543 struct resource *res;
diff --git a/drivers/gpio/gpio-rc5t583.c b/drivers/gpio/gpio-rc5t583.c
index 2931514c574a..59ee5de68e50 100644
--- a/drivers/gpio/gpio-rc5t583.c
+++ b/drivers/gpio/gpio-rc5t583.c
@@ -111,7 +111,7 @@ static void rc5t583_gpio_free(struct gpio_chip *gc, unsigned offset)
111 rc5t583_set_bits(parent, RC5T583_GPIO_PGSEL, BIT(offset)); 111 rc5t583_set_bits(parent, RC5T583_GPIO_PGSEL, BIT(offset));
112} 112}
113 113
114static int __devinit rc5t583_gpio_probe(struct platform_device *pdev) 114static int rc5t583_gpio_probe(struct platform_device *pdev)
115{ 115{
116 struct rc5t583 *rc5t583 = dev_get_drvdata(pdev->dev.parent); 116 struct rc5t583 *rc5t583 = dev_get_drvdata(pdev->dev.parent);
117 struct rc5t583_platform_data *pdata = dev_get_platdata(rc5t583->dev); 117 struct rc5t583_platform_data *pdata = dev_get_platdata(rc5t583->dev);
diff --git a/drivers/gpio/gpio-rdc321x.c b/drivers/gpio/gpio-rdc321x.c
index 17b971bffc85..dd3b49f09844 100644
--- a/drivers/gpio/gpio-rdc321x.c
+++ b/drivers/gpio/gpio-rdc321x.c
@@ -128,7 +128,7 @@ static int rdc_gpio_direction_input(struct gpio_chip *chip, unsigned gpio)
128/* 128/*
129 * Cache the initial value of both GPIO data registers 129 * Cache the initial value of both GPIO data registers
130 */ 130 */
131static int __devinit rdc321x_gpio_probe(struct platform_device *pdev) 131static int rdc321x_gpio_probe(struct platform_device *pdev)
132{ 132{
133 int err; 133 int err;
134 struct resource *r; 134 struct resource *r;
diff --git a/drivers/gpio/gpio-sch.c b/drivers/gpio/gpio-sch.c
index ed54425bffe8..4498855c7d74 100644
--- a/drivers/gpio/gpio-sch.c
+++ b/drivers/gpio/gpio-sch.c
@@ -185,7 +185,7 @@ static struct gpio_chip sch_gpio_resume = {
185 .set = sch_gpio_resume_set, 185 .set = sch_gpio_resume_set,
186}; 186};
187 187
188static int __devinit sch_gpio_probe(struct platform_device *pdev) 188static int sch_gpio_probe(struct platform_device *pdev)
189{ 189{
190 struct resource *res; 190 struct resource *res;
191 int err, id; 191 int err, id;
diff --git a/drivers/gpio/gpio-sodaville.c b/drivers/gpio/gpio-sodaville.c
index e25f73130b40..88f374ac7753 100644
--- a/drivers/gpio/gpio-sodaville.c
+++ b/drivers/gpio/gpio-sodaville.c
@@ -129,7 +129,7 @@ static struct irq_domain_ops irq_domain_sdv_ops = {
129 .xlate = sdv_xlate, 129 .xlate = sdv_xlate,
130}; 130};
131 131
132static __devinit int sdv_register_irqsupport(struct sdv_gpio_chip_data *sd, 132static int sdv_register_irqsupport(struct sdv_gpio_chip_data *sd,
133 struct pci_dev *pdev) 133 struct pci_dev *pdev)
134{ 134{
135 struct irq_chip_type *ct; 135 struct irq_chip_type *ct;
@@ -186,7 +186,7 @@ out_free_desc:
186 return ret; 186 return ret;
187} 187}
188 188
189static int __devinit sdv_gpio_probe(struct pci_dev *pdev, 189static int sdv_gpio_probe(struct pci_dev *pdev,
190 const struct pci_device_id *pci_id) 190 const struct pci_device_id *pci_id)
191{ 191{
192 struct sdv_gpio_chip_data *sd; 192 struct sdv_gpio_chip_data *sd;
diff --git a/drivers/gpio/gpio-sta2x11.c b/drivers/gpio/gpio-sta2x11.c
index 6064fb376e11..558542552aae 100644
--- a/drivers/gpio/gpio-sta2x11.c
+++ b/drivers/gpio/gpio-sta2x11.c
@@ -320,7 +320,7 @@ static irqreturn_t gsta_gpio_handler(int irq, void *dev_id)
320 return ret; 320 return ret;
321} 321}
322 322
323static __devinit void gsta_alloc_irq_chip(struct gsta_gpio *chip) 323static void gsta_alloc_irq_chip(struct gsta_gpio *chip)
324{ 324{
325 struct irq_chip_generic *gc; 325 struct irq_chip_generic *gc;
326 struct irq_chip_type *ct; 326 struct irq_chip_type *ct;
@@ -353,7 +353,7 @@ static __devinit void gsta_alloc_irq_chip(struct gsta_gpio *chip)
353} 353}
354 354
355/* The platform device used here is instantiated by the MFD device */ 355/* The platform device used here is instantiated by the MFD device */
356static int __devinit gsta_probe(struct platform_device *dev) 356static int gsta_probe(struct platform_device *dev)
357{ 357{
358 int i, err; 358 int i, err;
359 struct pci_dev *pdev; 359 struct pci_dev *pdev;
diff --git a/drivers/gpio/gpio-stmpe.c b/drivers/gpio/gpio-stmpe.c
index 821392d22137..72cf6183ee9f 100644
--- a/drivers/gpio/gpio-stmpe.c
+++ b/drivers/gpio/gpio-stmpe.c
@@ -267,7 +267,7 @@ static irqreturn_t stmpe_gpio_irq(int irq, void *dev)
267 return IRQ_HANDLED; 267 return IRQ_HANDLED;
268} 268}
269 269
270static int __devinit stmpe_gpio_irq_init(struct stmpe_gpio *stmpe_gpio) 270static int stmpe_gpio_irq_init(struct stmpe_gpio *stmpe_gpio)
271{ 271{
272 int base = stmpe_gpio->irq_base; 272 int base = stmpe_gpio->irq_base;
273 int irq; 273 int irq;
@@ -301,7 +301,7 @@ static void stmpe_gpio_irq_remove(struct stmpe_gpio *stmpe_gpio)
301 } 301 }
302} 302}
303 303
304static int __devinit stmpe_gpio_probe(struct platform_device *pdev) 304static int stmpe_gpio_probe(struct platform_device *pdev)
305{ 305{
306 struct stmpe *stmpe = dev_get_drvdata(pdev->dev.parent); 306 struct stmpe *stmpe = dev_get_drvdata(pdev->dev.parent);
307 struct stmpe_gpio_platform_data *pdata; 307 struct stmpe_gpio_platform_data *pdata;
diff --git a/drivers/gpio/gpio-stp-xway.c b/drivers/gpio/gpio-stp-xway.c
index 8bead0bb6459..85841ee70b17 100644
--- a/drivers/gpio/gpio-stp-xway.c
+++ b/drivers/gpio/gpio-stp-xway.c
@@ -197,7 +197,7 @@ static int xway_stp_hw_init(struct xway_stp *chip)
197 return 0; 197 return 0;
198} 198}
199 199
200static int __devinit xway_stp_probe(struct platform_device *pdev) 200static int xway_stp_probe(struct platform_device *pdev)
201{ 201{
202 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 202 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
203 const __be32 *shadow, *groups, *dsl, *phy; 203 const __be32 *shadow, *groups, *dsl, *phy;
diff --git a/drivers/gpio/gpio-sx150x.c b/drivers/gpio/gpio-sx150x.c
index 0e1472db6a4b..9c93308abff6 100644
--- a/drivers/gpio/gpio-sx150x.c
+++ b/drivers/gpio/gpio-sx150x.c
@@ -575,7 +575,7 @@ static void sx150x_remove_irq_chip(struct sx150x_chip *chip)
575 } 575 }
576} 576}
577 577
578static int __devinit sx150x_probe(struct i2c_client *client, 578static int sx150x_probe(struct i2c_client *client,
579 const struct i2c_device_id *id) 579 const struct i2c_device_id *id)
580{ 580{
581 static const u32 i2c_funcs = I2C_FUNC_SMBUS_BYTE_DATA | 581 static const u32 i2c_funcs = I2C_FUNC_SMBUS_BYTE_DATA |
diff --git a/drivers/gpio/gpio-tc3589x.c b/drivers/gpio/gpio-tc3589x.c
index debe67e595d2..d69d7c8838c6 100644
--- a/drivers/gpio/gpio-tc3589x.c
+++ b/drivers/gpio/gpio-tc3589x.c
@@ -311,7 +311,7 @@ static int tc3589x_gpio_irq_init(struct tc3589x_gpio *tc3589x_gpio,
311 return 0; 311 return 0;
312} 312}
313 313
314static int __devinit tc3589x_gpio_probe(struct platform_device *pdev) 314static int tc3589x_gpio_probe(struct platform_device *pdev)
315{ 315{
316 struct tc3589x *tc3589x = dev_get_drvdata(pdev->dev.parent); 316 struct tc3589x *tc3589x = dev_get_drvdata(pdev->dev.parent);
317 struct tc3589x_gpio_platform_data *pdata; 317 struct tc3589x_gpio_platform_data *pdata;
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c
index d982593d7563..45105a26d4bb 100644
--- a/drivers/gpio/gpio-tegra.c
+++ b/drivers/gpio/gpio-tegra.c
@@ -376,7 +376,7 @@ static struct of_device_id tegra_gpio_of_match[] __devinitdata = {
376 */ 376 */
377static struct lock_class_key gpio_lock_class; 377static struct lock_class_key gpio_lock_class;
378 378
379static int __devinit tegra_gpio_probe(struct platform_device *pdev) 379static int tegra_gpio_probe(struct platform_device *pdev)
380{ 380{
381 const struct of_device_id *match; 381 const struct of_device_id *match;
382 struct tegra_gpio_soc_config *config; 382 struct tegra_gpio_soc_config *config;
diff --git a/drivers/gpio/gpio-timberdale.c b/drivers/gpio/gpio-timberdale.c
index 1a3e2b9b4772..728d6e773a84 100644
--- a/drivers/gpio/gpio-timberdale.c
+++ b/drivers/gpio/gpio-timberdale.c
@@ -222,7 +222,7 @@ static struct irq_chip timbgpio_irqchip = {
222 .irq_set_type = timbgpio_irq_type, 222 .irq_set_type = timbgpio_irq_type,
223}; 223};
224 224
225static int __devinit timbgpio_probe(struct platform_device *pdev) 225static int timbgpio_probe(struct platform_device *pdev)
226{ 226{
227 int err, i; 227 int err, i;
228 struct gpio_chip *gc; 228 struct gpio_chip *gc;
diff --git a/drivers/gpio/gpio-tps6586x.c b/drivers/gpio/gpio-tps6586x.c
index d048ea81e521..b0b2ee076e68 100644
--- a/drivers/gpio/gpio-tps6586x.c
+++ b/drivers/gpio/gpio-tps6586x.c
@@ -80,7 +80,7 @@ static int tps6586x_gpio_output(struct gpio_chip *gc, unsigned offset,
80 val, mask); 80 val, mask);
81} 81}
82 82
83static int __devinit tps6586x_gpio_probe(struct platform_device *pdev) 83static int tps6586x_gpio_probe(struct platform_device *pdev)
84{ 84{
85 struct tps6586x_platform_data *pdata; 85 struct tps6586x_platform_data *pdata;
86 struct tps6586x_gpio *tps6586x_gpio; 86 struct tps6586x_gpio *tps6586x_gpio;
diff --git a/drivers/gpio/gpio-tps65910.c b/drivers/gpio/gpio-tps65910.c
index cf4e327b128b..635352c063c7 100644
--- a/drivers/gpio/gpio-tps65910.c
+++ b/drivers/gpio/gpio-tps65910.c
@@ -113,7 +113,7 @@ static struct tps65910_board *tps65910_parse_dt_for_gpio(struct device *dev,
113} 113}
114#endif 114#endif
115 115
116static int __devinit tps65910_gpio_probe(struct platform_device *pdev) 116static int tps65910_gpio_probe(struct platform_device *pdev)
117{ 117{
118 struct tps65910 *tps65910 = dev_get_drvdata(pdev->dev.parent); 118 struct tps65910 *tps65910 = dev_get_drvdata(pdev->dev.parent);
119 struct tps65910_board *pdata = dev_get_platdata(tps65910->dev); 119 struct tps65910_board *pdata = dev_get_platdata(tps65910->dev);
diff --git a/drivers/gpio/gpio-tps65912.c b/drivers/gpio/gpio-tps65912.c
index 55c1d35f2e14..c0623b8a7495 100644
--- a/drivers/gpio/gpio-tps65912.c
+++ b/drivers/gpio/gpio-tps65912.c
@@ -84,7 +84,7 @@ static struct gpio_chip template_chip = {
84 .base = -1, 84 .base = -1,
85}; 85};
86 86
87static int __devinit tps65912_gpio_probe(struct platform_device *pdev) 87static int tps65912_gpio_probe(struct platform_device *pdev)
88{ 88{
89 struct tps65912 *tps65912 = dev_get_drvdata(pdev->dev.parent); 89 struct tps65912 *tps65912 = dev_get_drvdata(pdev->dev.parent);
90 struct tps65912_board *pdata = tps65912->dev->platform_data; 90 struct tps65912_board *pdata = tps65912->dev->platform_data;
diff --git a/drivers/gpio/gpio-twl4030.c b/drivers/gpio/gpio-twl4030.c
index c5f8ca233e1f..648e5608a175 100644
--- a/drivers/gpio/gpio-twl4030.c
+++ b/drivers/gpio/gpio-twl4030.c
@@ -352,7 +352,7 @@ static struct gpio_chip twl_gpiochip = {
352 352
353/*----------------------------------------------------------------------*/ 353/*----------------------------------------------------------------------*/
354 354
355static int __devinit gpio_twl4030_pulls(u32 ups, u32 downs) 355static int gpio_twl4030_pulls(u32 ups, u32 downs)
356{ 356{
357 u8 message[6]; 357 u8 message[6];
358 unsigned i, gpio_bit; 358 unsigned i, gpio_bit;
@@ -377,7 +377,7 @@ static int __devinit gpio_twl4030_pulls(u32 ups, u32 downs)
377 REG_GPIOPUPDCTR1, 5); 377 REG_GPIOPUPDCTR1, 5);
378} 378}
379 379
380static int __devinit gpio_twl4030_debounce(u32 debounce, u8 mmc_cd) 380static int gpio_twl4030_debounce(u32 debounce, u8 mmc_cd)
381{ 381{
382 u8 message[4]; 382 u8 message[4];
383 383
@@ -419,7 +419,7 @@ static struct twl4030_gpio_platform_data *of_gpio_twl4030(struct device *dev)
419 return omap_twl_info; 419 return omap_twl_info;
420} 420}
421 421
422static int __devinit gpio_twl4030_probe(struct platform_device *pdev) 422static int gpio_twl4030_probe(struct platform_device *pdev)
423{ 423{
424 struct twl4030_gpio_platform_data *pdata = pdev->dev.platform_data; 424 struct twl4030_gpio_platform_data *pdata = pdev->dev.platform_data;
425 struct device_node *node = pdev->dev.of_node; 425 struct device_node *node = pdev->dev.of_node;
diff --git a/drivers/gpio/gpio-twl6040.c b/drivers/gpio/gpio-twl6040.c
index dd58e8b25043..2962b84bd253 100644
--- a/drivers/gpio/gpio-twl6040.c
+++ b/drivers/gpio/gpio-twl6040.c
@@ -82,7 +82,7 @@ static struct gpio_chip twl6040gpo_chip = {
82 82
83/*----------------------------------------------------------------------*/ 83/*----------------------------------------------------------------------*/
84 84
85static int __devinit gpo_twl6040_probe(struct platform_device *pdev) 85static int gpo_twl6040_probe(struct platform_device *pdev)
86{ 86{
87 struct twl6040_gpo_data *pdata = pdev->dev.platform_data; 87 struct twl6040_gpo_data *pdata = pdev->dev.platform_data;
88 struct device *twl6040_core_dev = pdev->dev.parent; 88 struct device *twl6040_core_dev = pdev->dev.parent;
diff --git a/drivers/gpio/gpio-vr41xx.c b/drivers/gpio/gpio-vr41xx.c
index 54d6e9a7400f..c13920b6cd72 100644
--- a/drivers/gpio/gpio-vr41xx.c
+++ b/drivers/gpio/gpio-vr41xx.c
@@ -490,7 +490,7 @@ static struct gpio_chip vr41xx_gpio_chip = {
490 .to_irq = vr41xx_gpio_to_irq, 490 .to_irq = vr41xx_gpio_to_irq,
491}; 491};
492 492
493static int __devinit giu_probe(struct platform_device *pdev) 493static int giu_probe(struct platform_device *pdev)
494{ 494{
495 struct resource *res; 495 struct resource *res;
496 unsigned int trigger, i, pin; 496 unsigned int trigger, i, pin;
diff --git a/drivers/gpio/gpio-vt8500.c b/drivers/gpio/gpio-vt8500.c
index bcd8e4aa7c7d..579f26403918 100644
--- a/drivers/gpio/gpio-vt8500.c
+++ b/drivers/gpio/gpio-vt8500.c
@@ -269,7 +269,7 @@ static struct of_device_id vt8500_gpio_dt_ids[] = {
269 { /* Sentinel */ }, 269 { /* Sentinel */ },
270}; 270};
271 271
272static int __devinit vt8500_gpio_probe(struct platform_device *pdev) 272static int vt8500_gpio_probe(struct platform_device *pdev)
273{ 273{
274 void __iomem *gpio_base; 274 void __iomem *gpio_base;
275 struct device_node *np; 275 struct device_node *np;
diff --git a/drivers/gpio/gpio-vx855.c b/drivers/gpio/gpio-vx855.c
index 43fcc42576dc..90dd23b0af8a 100644
--- a/drivers/gpio/gpio-vx855.c
+++ b/drivers/gpio/gpio-vx855.c
@@ -219,7 +219,7 @@ static void vx855gpio_gpio_setup(struct vx855_gpio *vg)
219} 219}
220 220
221/* This platform device is ordinarily registered by the vx855 mfd driver */ 221/* This platform device is ordinarily registered by the vx855 mfd driver */
222static __devinit int vx855gpio_probe(struct platform_device *pdev) 222static int vx855gpio_probe(struct platform_device *pdev)
223{ 223{
224 struct resource *res_gpi; 224 struct resource *res_gpi;
225 struct resource *res_gpo; 225 struct resource *res_gpo;
diff --git a/drivers/gpio/gpio-wm831x.c b/drivers/gpio/gpio-wm831x.c
index 273d541ac6b5..8182145ea29b 100644
--- a/drivers/gpio/gpio-wm831x.c
+++ b/drivers/gpio/gpio-wm831x.c
@@ -243,7 +243,7 @@ static struct gpio_chip template_chip = {
243 .can_sleep = 1, 243 .can_sleep = 1,
244}; 244};
245 245
246static int __devinit wm831x_gpio_probe(struct platform_device *pdev) 246static int wm831x_gpio_probe(struct platform_device *pdev)
247{ 247{
248 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); 248 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
249 struct wm831x_pdata *pdata = wm831x->dev->platform_data; 249 struct wm831x_pdata *pdata = wm831x->dev->platform_data;
diff --git a/drivers/gpio/gpio-wm8350.c b/drivers/gpio/gpio-wm8350.c
index 348a7d985ee3..2b99fc3fadd0 100644
--- a/drivers/gpio/gpio-wm8350.c
+++ b/drivers/gpio/gpio-wm8350.c
@@ -109,7 +109,7 @@ static struct gpio_chip template_chip = {
109 .can_sleep = 1, 109 .can_sleep = 1,
110}; 110};
111 111
112static int __devinit wm8350_gpio_probe(struct platform_device *pdev) 112static int wm8350_gpio_probe(struct platform_device *pdev)
113{ 113{
114 struct wm8350 *wm8350 = dev_get_drvdata(pdev->dev.parent); 114 struct wm8350 *wm8350 = dev_get_drvdata(pdev->dev.parent);
115 struct wm8350_platform_data *pdata = wm8350->dev->platform_data; 115 struct wm8350_platform_data *pdata = wm8350->dev->platform_data;
diff --git a/drivers/gpio/gpio-wm8994.c b/drivers/gpio/gpio-wm8994.c
index 59f0944ba484..fc3917889dab 100644
--- a/drivers/gpio/gpio-wm8994.c
+++ b/drivers/gpio/gpio-wm8994.c
@@ -245,7 +245,7 @@ static struct gpio_chip template_chip = {
245 .can_sleep = 1, 245 .can_sleep = 1,
246}; 246};
247 247
248static int __devinit wm8994_gpio_probe(struct platform_device *pdev) 248static int wm8994_gpio_probe(struct platform_device *pdev)
249{ 249{
250 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); 250 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent);
251 struct wm8994_pdata *pdata = wm8994->dev->platform_data; 251 struct wm8994_pdata *pdata = wm8994->dev->platform_data;
diff --git a/drivers/gpio/gpio-xilinx.c b/drivers/gpio/gpio-xilinx.c
index 79b0fe8a7253..5a35138eeade 100644
--- a/drivers/gpio/gpio-xilinx.c
+++ b/drivers/gpio/gpio-xilinx.c
@@ -159,7 +159,7 @@ static void xgpio_save_regs(struct of_mm_gpio_chip *mm_gc)
159 * driver data structure. It returns 0, if the driver is bound to the GPIO 159 * driver data structure. It returns 0, if the driver is bound to the GPIO
160 * device, or a negative value if there is an error. 160 * device, or a negative value if there is an error.
161 */ 161 */
162static int __devinit xgpio_of_probe(struct device_node *np) 162static int xgpio_of_probe(struct device_node *np)
163{ 163{
164 struct xgpio_instance *chip; 164 struct xgpio_instance *chip;
165 int status = 0; 165 int status = 0;