vision2: Fix checkpatch warning
PATCH 1/1 vision2: Fix checkpatch warning
Fix the following checkpatch warning:
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by Fabio Estevam <[email protected]>
--- board/ttcontrol/vision2/vision2.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
board/ttcontrol/vision2/vision2.c +1 -2
@@ -428,9 +428,8 @@ static void setup_gpios(void)gpio_direction_output (4 ,1 );gpio_direction_output (7 ,0 ); -for (i =65 ; i <71 ; i++) { +for (i =65 ; i <71 ; i++)gpio_direction_output (i,0 ); - }gpio_direction_output (94 ,0 );
Signature · 1 line
1.6.0.4
PATCH 1/1 vision2: Fix checkpatch warning -- added to next
Hi Fabio,
Le 21/11/2011 16:57, Fabio Estevam a ?crit :
Quoted 14 lines
Fix the following checkpatch warning:
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by Fabio Estevam<[email protected]>--- board/ttcontrol/vision2/vision2.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)board/ttcontrol/vision2/vision2.c +0
-0
board/ttcontrol/vision2/vision2.c static void setup_gpios(void) · line 434
Quoted 9 lines
board/ttcontrol/vision2/vision2.c +1
-2@@ -428,9 +428,8 @@ static void setup_gpios(void)gpio_direction_output (4 ,1 );gpio_direction_output (7 ,0 ); -for (i =65 ; i<71 ; i++) { +for (i =65 ; i<71 ; i++)gpio_direction_output (i,0 ); - }gpio_direction_output (94 ,0 );
(chose to add to next as it is not a bugfix per se; vision2 builds fine already without this patch)
Added to u-boot-arm/next, thanks!
Amicalement,
Signature · 1 line
Albert.