staging: fbtft: fixes alignment should match open parenthesis
Subsystems (2)
PATCH 1/1 staging: fbtft: fixes alignment should match open parenthesis
This patch fixes the checks reported by checkpatch.pl for alignment should match open parenthesis
Signed-off-by Kloudifold <[email protected]>
--- drivers/staging/fbtft/fb_tinylcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/fbtft/fb_tinylcd.c +2 -2
@@ -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 );write_reg (par,MIPI_DCS_EXIT_SLEEP_MODE );udelay (250 );
Signature · 1 line
2.39.2
Quoted 13 lines · Kloudifold
This patch fixes the checks reported by checkpatch.pl for alignment should match open parenthesis
Signed-off-by Kloudifold <[email protected]>--- drivers/staging/fbtft/fb_tinylcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/staging/fbtft/fb_tinylcd.c +0
-0
drivers/staging/fbtft/fb_tinylcd.c static int init_display(struct fbtft_par *par) · line 42
Quoted 8 lines
drivers/staging/fbtft/fb_tinylcd.c +2
-2@@ -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