diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:22:34 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-28 14:39:33 -0500 |
commit | 3836309d93462bbf34851c078be6e5e77d888e3d (patch) | |
tree | 5b391233266d03b38f7840f960b88c3685331ff4 /drivers/gpio/gpio-omap.c | |
parent | 8283c4ff57bdf3c1d8985c86e4ef44e1bb70f1f6 (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-omap.c')
-rw-r--r-- | drivers/gpio/gpio-omap.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 | ||
1015 | static __devinit void | 1015 | static void |
1016 | omap_mpuio_alloc_gc(struct gpio_bank *bank, unsigned int irq_start, | 1016 | omap_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 | ||
1044 | static void __devinit omap_gpio_chip_init(struct gpio_bank *bank) | 1044 | static 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 | ||
1090 | static const struct of_device_id omap_gpio_match[]; | 1090 | static const struct of_device_id omap_gpio_match[]; |
1091 | 1091 | ||
1092 | static int __devinit omap_gpio_probe(struct platform_device *pdev) | 1092 | static 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; |