[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180618114529.GA6421@kroah.com>
Date: Mon, 18 Jun 2018 13:45:29 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Jay Buddhabhatti <jay.buddhabhatti@...tnautics.com>
Cc: thomas.petazzoni@...e-electrons.com, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: fbtft: Add missing blank line after function
definition
On Mon, Jun 18, 2018 at 04:57:41PM +0530, Jay Buddhabhatti wrote:
> Reslove checkpatch warnings by adding missing blank line after
> function definition.
>
> Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@...tnautics.com>
> ---
> drivers/staging/fbtft/fb_s6d1121.c | 1 +
> drivers/staging/fbtft/fb_ssd1289.c | 1 +
> drivers/staging/fbtft/fb_st7735r.c | 1 +
> 3 files changed, 3 insertions(+)
>
> diff --git a/drivers/staging/fbtft/fb_s6d1121.c b/drivers/staging/fbtft/fb_s6d1121.c
> index b902442..b0c7a77 100644
> --- a/drivers/staging/fbtft/fb_s6d1121.c
> +++ b/drivers/staging/fbtft/fb_s6d1121.c
> @@ -154,6 +154,7 @@ static int set_gamma(struct fbtft_par *par, u32 *curves)
>
> return 0;
> }
> +
> #undef CURVE
>
> static struct fbtft_display display = {
There already is a blank line here, no need to add another one. Looks
like checkpatch.pl is being a bit too over-eager here, sorry.
thanks,
greg k-h
Powered by blists - more mailing lists