From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] vision2: Fix checkpatch warning -- added to next
Date: Mon, 28 Nov 2011 13:29:32 +0100 [thread overview]
Message-ID: <4ED37EAC.2050501@aribaud.net> (raw)
In-Reply-To: <1321891059-15087-1-git-send-email-fabio.estevam@freescale.com>
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.
prev parent reply other threads:[~2011-11-28 12:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-21 15:57 [U-Boot] [PATCH] vision2: Fix checkpatch warning Fabio Estevam
2011-11-28 12:29 ` Albert ARIBAUD [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4ED37EAC.2050501@aribaud.net \
--to=albert.u.boot@aribaud.net \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.