aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLaurent Navet <laurent.navet@gmail.com>2013-03-20 08:15:59 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-03-27 11:05:16 -0400
commite37f4af762125c87749cda0efb6c18199e49f0ed (patch)
treef62f6fca6aac42093ade408d908ba6f0ea6d0f26 /drivers/gpio
parent50e44430c6c1872a761c57161338dea069dc36db (diff)
gpio: gpio-pxa.c: fix checkpatch errors
Fix : gpio/gpio-pxa.c:605: ERROR: space required after that ',' (ctx:VxV) gpio/gpio-pxa.c:672: ERROR: space prohibited after that open parenthesis '(' Signed-off-by: Laurent Navet <laurent.navet@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-pxa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c
index 9cc108d2b770..6d01914538e3 100644
--- a/drivers/gpio/gpio-pxa.c
+++ b/drivers/gpio/gpio-pxa.c
@@ -602,7 +602,7 @@ static int pxa_gpio_probe(struct platform_device *pdev)
602 for_each_gpio_chip(gpio, c) { 602 for_each_gpio_chip(gpio, c) {
603 writel_relaxed(0, c->regbase + GFER_OFFSET); 603 writel_relaxed(0, c->regbase + GFER_OFFSET);
604 writel_relaxed(0, c->regbase + GRER_OFFSET); 604 writel_relaxed(0, c->regbase + GRER_OFFSET);
605 writel_relaxed(~0,c->regbase + GEDR_OFFSET); 605 writel_relaxed(~0, c->regbase + GEDR_OFFSET);
606 /* unmask GPIO edge detect for AP side */ 606 /* unmask GPIO edge detect for AP side */
607 if (gpio_is_mmp_type(gpio_type)) 607 if (gpio_is_mmp_type(gpio_type))
608 writel_relaxed(~0, c->regbase + ED_MASK_OFFSET); 608 writel_relaxed(~0, c->regbase + ED_MASK_OFFSET);
@@ -669,7 +669,7 @@ static void pxa_gpio_resume(void)
669 669
670 for_each_gpio_chip(gpio, c) { 670 for_each_gpio_chip(gpio, c) {
671 /* restore level with set/clear */ 671 /* restore level with set/clear */
672 writel_relaxed( c->saved_gplr, c->regbase + GPSR_OFFSET); 672 writel_relaxed(c->saved_gplr, c->regbase + GPSR_OFFSET);
673 writel_relaxed(~c->saved_gplr, c->regbase + GPCR_OFFSET); 673 writel_relaxed(~c->saved_gplr, c->regbase + GPCR_OFFSET);
674 674
675 writel_relaxed(c->saved_grer, c->regbase + GRER_OFFSET); 675 writel_relaxed(c->saved_grer, c->regbase + GRER_OFFSET);