aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-generic.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2013-01-24 06:47:48 -0500
committerIngo Molnar <mingo@kernel.org>2013-01-24 06:47:48 -0500
commitbefddb21c845f8fb49e637997891ef97c6a869dc (patch)
tree0e7629123184f2dd50291ad6d477b894175f0f26 /drivers/gpio/gpio-generic.c
parente716efde75267eab919cdb2bef5b2cb77f305326 (diff)
parent7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619 (diff)
Merge tag 'v3.8-rc4' into irq/core
Merge Linux 3.8-rc4 before pulling in new commits - we were on an old v3.7 base. Signed-off-by: Ingo Molnar <mingo@kernel.org>
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);