* [U-Boot] [PATCH] vision2: Fix checkpatch warning
@ 2011-11-21 15:57 Fabio Estevam
2011-11-28 12:29 ` [U-Boot] [PATCH] vision2: Fix checkpatch warning -- added to next Albert ARIBAUD
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2011-11-21 15:57 UTC (permalink / raw)
To: u-boot
Fix the following checkpatch warning:
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
board/ttcontrol/vision2/vision2.c | 3 +--
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);
--
1.6.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* [U-Boot] [PATCH] vision2: Fix checkpatch warning -- added to next
2011-11-21 15:57 [U-Boot] [PATCH] vision2: Fix checkpatch warning Fabio Estevam
@ 2011-11-28 12:29 ` Albert ARIBAUD
0 siblings, 0 replies; 2+ messages in thread
From: Albert ARIBAUD @ 2011-11-28 12:29 UTC (permalink / raw)
To: u-boot
Hi Fabio,
Le 21/11/2011 16:57, Fabio Estevam a ?crit :
> Fix the following checkpatch warning:
>
> WARNING: braces {} are not necessary for single statement blocks
>
> Signed-off-by: Fabio Estevam<fabio.estevam@freescale.com>
> ---
> board/ttcontrol/vision2/vision2.c | 3 +--
> 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);
(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,
--
Albert.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-28 12:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-21 15:57 [U-Boot] [PATCH] vision2: Fix checkpatch warning Fabio Estevam
2011-11-28 12:29 ` [U-Boot] [PATCH] vision2: Fix checkpatch warning -- added to next Albert ARIBAUD
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.