aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-11-21 05:57:39 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-12-24 10:23:29 +0100
commitafffcc7bfa7634ecd733788d7f4d662c43e09727 (patch)
treebd0111bfda3871999953a1f8e24789384cad818e
parentbfcc40bb09b05c90cc3b1496abb270eb8aa72134 (diff)
downloadu-boot-afffcc7bfa7634ecd733788d7f4d662c43e09727.zip
u-boot-afffcc7bfa7634ecd733788d7f4d662c43e09727.tar.gz
u-boot-afffcc7bfa7634ecd733788d7f4d662c43e09727.tar.bz2
vision2: Fix checkpatch warning
Fix the following checkpatch warning: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
-rw-r--r--board/ttcontrol/vision2/vision2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/ttcontrol/vision2/vision2.c b/board/ttcontrol/vision2/vision2.c
index f556d30..282de95 100644
--- a/board/ttcontrol/vision2/vision2.c
+++ b/board/ttcontrol/vision2/vision2.c
@@ -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);