[PATCH] staging: pi433: pi433_if.c codestyle space prohibited

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch fixes the following checkpatch.pl error:

ERROR: space prohibited after that open parenthesis '('
#973: FILE: pi433_if.c:973:
+               if ( IS_ERR(device->gpiod[i]) )


ERROR: space prohibited after that open parenthesis '('
#19: FILE: drivers/staging/pi433/pi433_if.c:954:
+               if ( IS_ERR(device->gpiod[i]))

Signed-off-by: Oliver Graute <oliver.graute@xxxxxxxxx>
---
 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 8d51f055..4b8980c 100644
--- a/drivers/staging/pi433/pi433_if.c
+++ b/drivers/staging/pi433/pi433_if.c
@@ -969,7 +969,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
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux