staging: fbtft: removed space before ')' and after '(' parenthesis.
Subsystems (2)
PATCH v2 1/1 staging: fbtft: removed space before ')' and after '(' parenthesis.
This patch fixes the following checkpatch.pl errors:
ERROR: space prohibited after that open parenthesis '('
ERROR: space prohibited before that close parenthesis ')'
---
Changes in v2:
- This patch only contains the changes made to remove the space before and after parenthesis.
- Doesn't contain other changes not mentioned the in the commit message.
drivers/staging/fbtft/fb_bd663474.c | 74 ++++++++++++++++++------------------- 1 file changed, 37 insertions(+), 37 deletions(-)
drivers/staging/fbtft/fb_bd663474.c +37 -37
@@ -51,45 +51,45 @@ static int init_display(struct fbtft_par *par)mdelay (10 );/* Power settings */ -write_reg (par,0x100 ,0x0000 );/* power supply setup */ -write_reg (par,0x101 ,0x0000 ); -write_reg (par,0x102 ,0x3110 ); -write_reg (par,0x103 ,0xe200 ); -write_reg (par,0x110 ,0x009d ); -write_reg (par,0x111 ,0x0022 ); -write_reg (par,0x100 ,0x0120 ); -mdelay (20 ); - -write_reg (par,0x100 ,0x3120 ); -mdelay (80 ); +write_reg (par,0x100 ,0x0000 );/* power supply setup */ +write_reg (par,0x101 ,0x0000 ); +write_reg (par,0x102 ,0x3110 ); +write_reg (par,0x103 ,0xe200 ); +write_reg (par,0x110 ,0x009d ); +write_reg (par,0x111 ,0x0022 ); +write_reg (par,0x100 ,0x0120 ); +mdelay (20 ); + +write_reg (par,0x100 ,0x3120 ); +mdelay (80 );/* Display control */ -write_reg (par,0x001 ,0x0100 ); -write_reg (par,0x002 ,0x0000 ); -write_reg (par,0x003 ,0x1230 ); -write_reg (par,0x006 ,0x0000 ); -write_reg (par,0x007 ,0x0101 ); -write_reg (par,0x008 ,0x0808 ); -write_reg (par,0x009 ,0x0000 ); -write_reg (par,0x00b ,0x0000 ); -write_reg (par,0x00c ,0x0000 ); -write_reg (par,0x00d ,0x0018 ); +write_reg (par,0x001 ,0x0100 ); +write_reg (par,0x002 ,0x0000 ); +write_reg (par,0x003 ,0x1230 ); +write_reg (par,0x006 ,0x0000 ); +write_reg (par,0x007 ,0x0101 ); +write_reg (par,0x008 ,0x0808 ); +write_reg (par,0x009 ,0x0000 ); +write_reg (par,0x00b ,0x0000 ); +write_reg (par,0x00c ,0x0000 ); +write_reg (par,0x00d ,0x0018 );/* LTPS control settings */ -write_reg (par,0x012 ,0x0000 ); -write_reg (par,0x013 ,0x0000 ); -write_reg (par,0x018 ,0x0000 ); -write_reg (par,0x019 ,0x0000 ); - -write_reg (par,0x203 ,0x0000 ); -write_reg (par,0x204 ,0x0000 ); - -write_reg (par,0x210 ,0x0000 ); -write_reg (par,0x211 ,0x00ef ); -write_reg (par,0x212 ,0x0000 ); -write_reg (par,0x213 ,0x013f ); -write_reg (par,0x214 ,0x0000 ); -write_reg (par,0x215 ,0x0000 ); -write_reg (par,0x216 ,0x0000 ); -write_reg (par,0x217 ,0x0000 ); +write_reg (par,0x012 ,0x0000 ); +write_reg (par,0x013 ,0x0000 ); +write_reg (par,0x018 ,0x0000 ); +write_reg (par,0x019 ,0x0000 ); + +write_reg (par,0x203 ,0x0000 ); +write_reg (par,0x204 ,0x0000 ); + +write_reg (par,0x210 ,0x0000 ); +write_reg (par,0x211 ,0x00ef ); +write_reg (par,0x212 ,0x0000 ); +write_reg (par,0x213 ,0x013f ); +write_reg (par,0x214 ,0x0000 ); +write_reg (par,0x215 ,0x0000 ); +write_reg (par,0x216 ,0x0000 ); +write_reg (par,0x217 ,0x0000 );/* Gray scale settings */ write_reg (par,0x300 ,0x5343 );
Signature · 1 line
1.9.1
Greg KH
maintainerQuoted 6 lines · Navya Sri Nizamkari
This patch fixes the following checkpatch.pl errors:
ERROR: space prohibited after that open parenthesis '('
ERROR: space prohibited before that close parenthesis ')'Signed-off-by Navya Sri Nizamkari <[email protected]>
Quoted 8 lines
---
Changes in v2:
- This patch only contains the changes made to remove the space before and after parenthesis.
- Doesn't contain other changes not mentioned the in the commit message.drivers/staging/fbtft/fb_bd663474.c | 74 ++++++++++++++++++------------------- 1 file changed, 37 insertions(+), 37 deletions(-)
Someone sent in this same change before you did, sorry :(