staging: fbtft: fb_hx8340bn.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:
Aya Mahfouz 2015-03-10 19:05:27 +02:00 committed by Greg Kroah-Hartman
parent 6b38452785
commit 721bc827d4

View File

@ -129,7 +129,7 @@ static int set_var(struct fbtft_par *par)
#define MV (1 << 5) #define MV (1 << 5)
switch (par->info->var.rotate) { switch (par->info->var.rotate) {
case 0: case 0:
write_reg(par, 0x36, (par->bgr << 3)); write_reg(par, 0x36, par->bgr << 3);
break; break;
case 270: case 270:
write_reg(par, 0x36, MX | MV | (par->bgr << 3)); write_reg(par, 0x36, MX | MV | (par->bgr << 3));