2015-08-20 15:26:43

by Aparna Karuthodi

[permalink] [raw]
Subject: [PATCH] staging: fbtft: Removed a space before comma

Removed a space before coma to remove a coding style error detected by
checkpatch.
The error is given below:
drivers/staging/fbtft/fb_ili9340.c:47: ERROR: space prohibited before
that ',' (ctx:WxW)

Signed-off-by: Aparna Karuthodi <[email protected]>
---
drivers/staging/fbtft/fb_ili9340.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/fbtft/fb_ili9340.c b/drivers/staging/fbtft/fb_ili9340.c
index 985687d..5753f03 100644
--- a/drivers/staging/fbtft/fb_ili9340.c
+++ b/drivers/staging/fbtft/fb_ili9340.c
@@ -44,7 +44,7 @@ static int init_display(struct fbtft_par *par)
write_reg(par, 0xE8, 0x85 , 0x00 , 0x78);
write_reg(par, 0xCB, 0x39 , 0x2C , 0x00 , 0x34 , 0x02);
write_reg(par, 0xF7, 0x20);
- write_reg(par, 0xEA, 0x00 , 0x00);
+ write_reg(par, 0xEA, 0x00, 0x00);

/* Power Control 1 */
write_reg(par, 0xC0, 0x23);
--
1.7.9.5


2015-08-24 13:02:25

by Sudip Mukherjee

[permalink] [raw]
Subject: Re: [PATCH] staging: fbtft: Removed a space before comma

On Thu, Aug 20, 2015 at 08:57:57PM +0530, Aparna Karuthodi wrote:
> Removed a space before coma to remove a coding style error detected by
> checkpatch.
> The error is given below:
> drivers/staging/fbtft/fb_ili9340.c:47: ERROR: space prohibited before
> that ',' (ctx:WxW)
>
> Signed-off-by: Aparna Karuthodi <[email protected]>
> ---
I think you need to update your tree. This has already been done by:
43da0d92ab7d ("staging: fbtft: fix space prohibited before that ','")

regards
sudip