aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-generic.c')
-rw-r--r--drivers/gpio/gpio-generic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-generic.c b/drivers/gpio/gpio-generic.c
index 82e2e4fe599e..05fcc0f247ca 100644
--- a/drivers/gpio/gpio-generic.c
+++ b/drivers/gpio/gpio-generic.c
@@ -444,7 +444,7 @@ static void __iomem *bgpio_map(struct platform_device *pdev,
444 return ret; 444 return ret;
445} 445}
446 446
447static int __devinit bgpio_pdev_probe(struct platform_device *pdev) 447static int bgpio_pdev_probe(struct platform_device *pdev)
448{ 448{
449 struct device *dev = &pdev->dev; 449 struct device *dev = &pdev->dev;
450 struct resource *r; 450 struct resource *r;
@@ -507,7 +507,7 @@ static int __devinit bgpio_pdev_probe(struct platform_device *pdev)
507 return gpiochip_add(&bgc->gc); 507 return gpiochip_add(&bgc->gc);
508} 508}
509 509
510static int __devexit bgpio_pdev_remove(struct platform_device *pdev) 510static int bgpio_pdev_remove(struct platform_device *pdev)
511{ 511{
512 struct bgpio_chip *bgc = platform_get_drvdata(pdev); 512 struct bgpio_chip *bgc = platform_get_drvdata(pdev);
513 513
@@ -527,7 +527,7 @@ static struct platform_driver bgpio_driver = {
527 }, 527 },
528 .id_table = bgpio_id_table, 528 .id_table = bgpio_id_table,
529 .probe = bgpio_pdev_probe, 529 .probe = bgpio_pdev_probe,
530 .remove = __devexit_p(bgpio_pdev_remove), 530 .remove = bgpio_pdev_remove,
531}; 531};
532 532
533module_platform_driver(bgpio_driver); 533module_platform_driver(bgpio_driver);