[PATCH] Staging:fbtft/fb_s6d02a1.c: fixed 80 character line limit coding

Greg KH gregkh at linuxfoundation.org
Fri Oct 7 17:07:16 UTC 2016


On Fri, Oct 07, 2016 at 08:43:02AM -0700, Nadim Almas wrote:
> style issue
> 
> Fixed coding style issue

This does not seem like valid sentances that mean much to me.  Do they
to you?

> 
> Signed-off-by: Nadim Almas <nadim.902 at gmail.com>
> ---
>  drivers/staging/fbtft/fb_s6d02a1.c | 30 ++++++++++++++++++++----------
>  1 file changed, 20 insertions(+), 10 deletions(-)
> 
> diff --git a/drivers/staging/fbtft/fb_s6d02a1.c b/drivers/staging/fbtft/fb_s6d02a1.c
> index 774b0ff..bc0c48f 100644
> --- a/drivers/staging/fbtft/fb_s6d02a1.c
> +++ b/drivers/staging/fbtft/fb_s6d02a1.c
> @@ -30,20 +30,27 @@ static int default_init_sequence[] = {
>  
>  	-1, 0xfc, 0x5a, 0x5a,
>  
> -	-1, 0xfa, 0x02, 0x1f, 0x00, 0x10, 0x22, 0x30, 0x38, 0x3A, 0x3A, 0x3A, 0x3A, 0x3A, 0x3d, 0x02, 0x01,
> +	-1, 0xfa, 0x02, 0x1f, 0x00, 0x10, 0x22, 0x30, 0x38, 0x3A, 0x3A, 0x3A,
> +						0x3A, 0x3A, 0x3d, 0x02, 0x01,

This looks worse to me now, remember, checkpatch.pl is a "hint", not a
hard-and-fast-rule.  Use it wisely.

greg k-h


More information about the devel mailing list