aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-pxa.c
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/gpio-pxa.c
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/gpio-pxa.c')
-rw-r--r--drivers/gpio/gpio-pxa.c6
1 files changed, 3 insertions, 3 deletions
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;