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

From: Peter Senna Tschudin
Date: Fri Nov 02 2012 - 08:42:29 EST


On Fri, Nov 2, 2012 at 1:08 PM, YAMANE Toshiaki <yamanetoshi@xxxxxxxxx> wrote:
> fixed below checkpatch error.
> - ERROR: that open brace { should be on the previous line
>
> Signed-off-by: YAMANE Toshiaki <yamanetoshi@xxxxxxxxx>
Tested-by: Peter Senna Tschudin <peter.senna@xxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html



--
Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/