mirror of https://gitee.com/openkylin/linux.git
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: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
721bc827d4
commit
53ce1c05cc
|
@ -112,7 +112,7 @@ static int set_var(struct fbtft_par *par)
|
|||
write_reg(par, 0x36, my | mv | (par->bgr << 3));
|
||||
break;
|
||||
case 180:
|
||||
write_reg(par, 0x36, (par->bgr << 3));
|
||||
write_reg(par, 0x36, par->bgr << 3);
|
||||
break;
|
||||
case 90:
|
||||
write_reg(par, 0x36, mx | mv | (par->bgr << 3));
|
||||
|
|
Loading…
Reference in New Issue