[PATCH 09/10] staging: pi433: open brace on previous line

Oliver Graute oliver.graute at gmail.com
Fri Dec 8 16:27:49 UTC 2017


This patch fixes this codestyle issue:

ERROR: that open brace { should be on the previous line
+       for (i = 0; i < NUM_DIO; i++) +       {

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

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



More information about the devel mailing list