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-ich.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-ich.c')
-rw-r--r-- | drivers/gpio/gpio-ich.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 | ||
241 | static void __devinit ichx_gpiolib_setup(struct gpio_chip *chip) | 241 | static 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 | ||
316 | static int __devinit ichx_gpio_request_regions(struct resource *res_base, | 316 | static 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 | ||
356 | static int __devinit ichx_gpio_probe(struct platform_device *pdev) | 356 | static 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; |