Commit 53ce1c05 authored by Aya Mahfouz's avatar Aya Mahfouz Committed by Greg Kroah-Hartman

staging: fbtft: fb_hx8353d.c: remove extra parentheses around function arguments

Removes extra parentheses around function arguments. Issue
detected and resolved using the following coccinelle script:

@@
expression e;
identifier f;
@@

f(...,
-(
e
-)
,...)
Signed-off-by: default avatarAya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 721bc827
...@@ -112,7 +112,7 @@ static int set_var(struct fbtft_par *par) ...@@ -112,7 +112,7 @@ static int set_var(struct fbtft_par *par)
write_reg(par, 0x36, my | mv | (par->bgr << 3)); write_reg(par, 0x36, my | mv | (par->bgr << 3));
break; break;
case 180: case 180:
write_reg(par, 0x36, (par->bgr << 3)); write_reg(par, 0x36, par->bgr << 3);
break; break;
case 90: case 90:
write_reg(par, 0x36, mx | mv | (par->bgr << 3)); write_reg(par, 0x36, mx | mv | (par->bgr << 3));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment