diff options
author | Aya Mahfouz | 2015-03-10 18:07:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-03-15 18:41:13 +0100 |
commit | 0401b42d8bf8c929c77bd9e77615284d154a3174 (patch) | |
tree | b3917cb826b97a4eab76511aa3912d03cc99f00d /drivers/staging/fbtft/fb_st7735r.c | |
parent | staging: fbtft: fb_s6d02a1.c: remove extra parentheses around function arguments (diff) | |
download | kernel-qcow2-linux-0401b42d8bf8c929c77bd9e77615284d154a3174.tar.gz kernel-qcow2-linux-0401b42d8bf8c929c77bd9e77615284d154a3174.tar.xz kernel-qcow2-linux-0401b42d8bf8c929c77bd9e77615284d154a3174.zip |
staging: fbtft: fb_st7735r.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>
Diffstat (limited to 'drivers/staging/fbtft/fb_st7735r.c')
-rw-r--r-- | drivers/staging/fbtft/fb_st7735r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fbtft/fb_st7735r.c b/drivers/staging/fbtft/fb_st7735r.c index 078f502884bd..eb3af1d712d0 100644 --- a/drivers/staging/fbtft/fb_st7735r.c +++ b/drivers/staging/fbtft/fb_st7735r.c @@ -130,7 +130,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)); |