From: Oliver Graute Date: Sun, 26 Nov 2017 20:07:10 +0000 (+0100) Subject: staging: pi433: pi433_if.c codestyle fix X-Git-Tag: v4.19~1691^2~450 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c976752e39988b0b8d7d4d7f06ed0f67582b4d46;p=platform%2Fkernel%2Flinux-rpi.git staging: pi433: pi433_if.c codestyle fix This patch fixes the following checkpatch.pl error: ERROR: spaces required around that '>=' (ctx:VxV) #930: FILE: pi433_if.c:930: + for (i--; i>=0; i--) ERROR: spaces required around that '=' (ctx:VxV) #970: FILE: pi433_if.c:970: + for (i=0; i Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 196facc..3404cb9 100644 --- a/drivers/staging/pi433/pi433_if.c +++ b/drivers/staging/pi433/pi433_if.c @@ -928,8 +928,7 @@ static int setup_GPIOs(struct pi433_device *device) { retval = PTR_ERR(device->gpiod[i]); /* release already allocated gpios */ - for (i--; i>=0; i--) - { + for (i--; i >= 0; i--) { free_irq(device->irq_num[i], device); gpiod_put(device->gpiod[i]); } @@ -968,7 +967,7 @@ static void free_GPIOs(struct pi433_device *device) { int i; - for (i=0; igpiod[i]) )