aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-ich.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-ich.c')
-rw-r--r--drivers/gpio/gpio-ich.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpio/gpio-ich.c b/drivers/gpio/gpio-ich.c
index d4d617966696..6cc87ac8e019 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;
@@ -442,7 +442,7 @@ add_err:
442 return err; 442 return err;
443} 443}
444 444
445static int __devexit ichx_gpio_remove(struct platform_device *pdev) 445static int ichx_gpio_remove(struct platform_device *pdev)
446{ 446{
447 int err; 447 int err;
448 448
@@ -467,7 +467,7 @@ static struct platform_driver ichx_gpio_driver = {
467 .name = DRV_NAME, 467 .name = DRV_NAME,
468 }, 468 },
469 .probe = ichx_gpio_probe, 469 .probe = ichx_gpio_probe,
470 .remove = __devexit_p(ichx_gpio_remove), 470 .remove = ichx_gpio_remove,
471}; 471};
472 472
473module_platform_driver(ichx_gpio_driver); 473module_platform_driver(ichx_gpio_driver);