Re: [PATCH 05/10] gpio: gpio-pxa.c: fix checkpatch errors

2013-03-27 Thread Linus Walleij
On Wed, Mar 20, 2013 at 1:15 PM, Laurent Navet laurent.na...@gmail.com wrote:

 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.na...@gmail.com

Patch applied.

Thanks!
Linus Walleij
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 05/10] gpio: gpio-pxa.c: fix checkpatch errors

2013-03-20 Thread Laurent Navet
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.na...@gmail.com
---
 drivers/gpio/gpio-pxa.c |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c
index 9cc108d..6d01914 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)
for_each_gpio_chip(gpio, c) {
writel_relaxed(0, c-regbase + GFER_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 */
if (gpio_is_mmp_type(gpio_type))
writel_relaxed(~0, c-regbase + ED_MASK_OFFSET);
@@ -669,7 +669,7 @@ static void pxa_gpio_resume(void)
 
for_each_gpio_chip(gpio, c) {
/* 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_grer, c-regbase + GRER_OFFSET);
-- 
1.7.10.4

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html