This patch fixes this codestyle issue:

ERROR: space prohibited after that open parenthesis '('
+               if ( IS_ERR(device->gpiod[i]) )

ERROR: space prohibited before that close parenthesis ')'
+               if ( IS_ERR(device->gpiod[i]) )

Signed-off-by: Oliver Graute <oliver.gra...@gmail.com>
---
 drivers/staging/pi433/pi433_if.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c
index c85a0fa..88e8c74 100644
--- a/drivers/staging/pi433/pi433_if.c
+++ b/drivers/staging/pi433/pi433_if.c
@@ -998,7 +998,7 @@ static void free_GPIOs(struct pi433_device *device)
 
        for (i = 0; i < NUM_DIO; i++) {
                /* check if gpiod is valid */
-               if ( IS_ERR(device->gpiod[i]) )
+               if (IS_ERR(device->gpiod[i]))
                        continue;
 
                free_irq(device->irq_num[i], device);
-- 
1.9.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to