projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gpio: remove use of __devinit
[linux-2.6-block.git]
/
drivers
/
gpio
/
gpio-pxa.c
diff --git
a/drivers/gpio/gpio-pxa.c
b/drivers/gpio/gpio-pxa.c
index 98d52cb3fd1a4c423daa47476a1082f954a9c1ec..3e35243c136f97284bd0367d237fb4e1a9039cd1 100644
(file)
--- 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,
}
#endif
}
#endif
-static int
__devinit
pxa_init_gpio_chip(int gpio_end,
+static int pxa_init_gpio_chip(int gpio_end,
int (*set_wake)(unsigned int, unsigned int))
{
int i, gpio, nbanks = gpio_to_bank(gpio_end) + 1;
int (*set_wake)(unsigned int, unsigned int))
{
int i, gpio, nbanks = gpio_to_bank(gpio_end) + 1;
@@
-490,7
+490,7
@@
const struct irq_domain_ops pxa_irq_domain_ops = {
.xlate = irq_domain_xlate_twocell,
};
.xlate = irq_domain_xlate_twocell,
};
-static int
__devinit
pxa_gpio_probe_dt(struct platform_device *pdev)
+static int pxa_gpio_probe_dt(struct platform_device *pdev)
{
int ret, nr_banks, nr_gpios;
struct device_node *prev, *next, *np = pdev->dev.of_node;
{
int ret, nr_banks, nr_gpios;
struct device_node *prev, *next, *np = pdev->dev.of_node;
@@
-537,7
+537,7
@@
err:
#define pxa_gpio_probe_dt(pdev) (-1)
#endif
#define pxa_gpio_probe_dt(pdev) (-1)
#endif
-static int
__devinit
pxa_gpio_probe(struct platform_device *pdev)
+static int pxa_gpio_probe(struct platform_device *pdev)
{
struct pxa_gpio_chip *c;
struct resource *res;
{
struct pxa_gpio_chip *c;
struct resource *res;