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>
This commit is contained in:
Laurent Navet 2013-03-20 13:15:59 +01:00 коммит произвёл Linus Walleij
Родитель 50e44430c6
Коммит e37f4af762
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -602,7 +602,7 @@ static int pxa_gpio_probe(struct platform_device *pdev)
for_each_gpio_chip(gpio, c) { for_each_gpio_chip(gpio, c) {
writel_relaxed(0, c->regbase + GFER_OFFSET); writel_relaxed(0, c->regbase + GFER_OFFSET);
writel_relaxed(0, c->regbase + GRER_OFFSET); writel_relaxed(0, c->regbase + GRER_OFFSET);
writel_relaxed(~0,c->regbase + GEDR_OFFSET); writel_relaxed(~0, c->regbase + GEDR_OFFSET);
/* unmask GPIO edge detect for AP side */ /* unmask GPIO edge detect for AP side */
if (gpio_is_mmp_type(gpio_type)) if (gpio_is_mmp_type(gpio_type))
writel_relaxed(~0, c->regbase + ED_MASK_OFFSET); writel_relaxed(~0, c->regbase + ED_MASK_OFFSET);
@ -669,7 +669,7 @@ static void pxa_gpio_resume(void)
for_each_gpio_chip(gpio, c) { for_each_gpio_chip(gpio, c) {
/* restore level with set/clear */ /* restore level with set/clear */
writel_relaxed( c->saved_gplr, c->regbase + GPSR_OFFSET); writel_relaxed(c->saved_gplr, c->regbase + GPSR_OFFSET);
writel_relaxed(~c->saved_gplr, c->regbase + GPCR_OFFSET); writel_relaxed(~c->saved_gplr, c->regbase + GPCR_OFFSET);
writel_relaxed(c->saved_grer, c->regbase + GRER_OFFSET); writel_relaxed(c->saved_grer, c->regbase + GRER_OFFSET);