[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e9022276-9dbc-497b-8803-7ec7bf87414f@kili.mountain>
Date: Fri, 10 Mar 2023 07:07:45 +0300
From: Dan Carpenter <error27@...il.com>
To: Kloudifold <cloudifold.3125@...il.com>
Cc: gregkh@...uxfoundation.org, outreachy@...ts.linux.dev,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: fbtft: fixes alignment should match open
parenthesis
On Fri, Mar 10, 2023 at 12:01:21PM +0800, Kloudifold wrote:
> This patch fixes the checks reported by checkpatch.pl
> for alignment should match open parenthesis
>
> Signed-off-by: Kloudifold <cloudifold.3125@...il.com>
> ---
> drivers/staging/fbtft/fb_tinylcd.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/fbtft/fb_tinylcd.c b/drivers/staging/fbtft/fb_tinylcd.c
> index 9469248f2..7d4741c47 100644
> --- a/drivers/staging/fbtft/fb_tinylcd.c
> +++ b/drivers/staging/fbtft/fb_tinylcd.c
> @@ -37,8 +37,8 @@ static int init_display(struct fbtft_par *par)
> write_reg(par, 0xB3, 0x00);
> write_reg(par, 0xE5, 0x00);
> write_reg(par, 0xF0, 0x36, 0xA5, 0x53);
> - write_reg(par, 0xE0, 0x00, 0x35, 0x33, 0x00, 0x00, 0x00,
> - 0x00, 0x35, 0x33, 0x00, 0x00, 0x00);
> + write_reg(par, 0xE0, 0x00, 0x35, 0x33, 0x00, 0x00,
> + 0x00, 0x00, 0x35, 0x33, 0x00, 0x00, 0x00);
> write_reg(par, MIPI_DCS_SET_PIXEL_FORMAT, 0x55);
The original was obviously deliberate. Just leave it as-is. Checkpatch
is not the king of the world.
regards,
dan carpenter
Powered by blists - more mailing lists