[1/2] Staging/media: fixed spacing coding style in go7007/wis-ov7640.c

Message ID 1351858121-5708-1-git-send-email-yamanetoshi@gmail.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

YAMANE Toshiaki Nov. 2, 2012, 12:08 p.m. UTC
  fixed below checkpatch error.
- ERROR: that open brace { should be on the previous line

Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com>
---
 drivers/staging/media/go7007/wis-ov7640.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
  

Comments

Peter Senna Tschudin Nov. 2, 2012, 12:42 p.m. UTC | #1
On Fri, Nov 2, 2012 at 1:08 PM, YAMANE Toshiaki <yamanetoshi@gmail.com> wrote:
> fixed below checkpatch error.
> - ERROR: that open brace { should be on the previous line
>
> Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com>
Tested-by: Peter Senna Tschudin <peter.senna@gmail.com>
> ---
>  drivers/staging/media/go7007/wis-ov7640.c |    3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/staging/media/go7007/wis-ov7640.c b/drivers/staging/media/go7007/wis-ov7640.c
> index 6bc9470..eb5efc9 100644
> --- a/drivers/staging/media/go7007/wis-ov7640.c
> +++ b/drivers/staging/media/go7007/wis-ov7640.c
> @@ -29,8 +29,7 @@ struct wis_ov7640 {
>         int hue;
>  };
>
> -static u8 initial_registers[] =
> -{
> +static u8 initial_registers[] = {
>         0x12, 0x80,
>         0x12, 0x54,
>         0x14, 0x24,
> --
> 1.7.9.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



--
Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  

Patch

diff --git a/drivers/staging/media/go7007/wis-ov7640.c b/drivers/staging/media/go7007/wis-ov7640.c
index 6bc9470..eb5efc9 100644
--- a/drivers/staging/media/go7007/wis-ov7640.c
+++ b/drivers/staging/media/go7007/wis-ov7640.c
@@ -29,8 +29,7 @@  struct wis_ov7640 {
 	int hue;
 };
 
-static u8 initial_registers[] =
-{
+static u8 initial_registers[] = {
 	0x12, 0x80,
 	0x12, 0x54,
 	0x14, 0x24,