diff options
author | Anish Bhatt | 2015-09-03 09:53:37 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-09-13 03:24:37 +0200 |
commit | 94c0a5442708dbc4226f8aabcf9163caac179a92 (patch) | |
tree | b441bdf455a18ee004ffc25129c562111bfd9131 /drivers/staging/fbtft/fb_ili9341.c | |
parent | staging/fbtft : Fix multiple/missing blank line issues (diff) | |
download | kernel-qcow2-linux-94c0a5442708dbc4226f8aabcf9163caac179a92.tar.gz kernel-qcow2-linux-94c0a5442708dbc4226f8aabcf9163caac179a92.tar.xz kernel-qcow2-linux-94c0a5442708dbc4226f8aabcf9163caac179a92.zip |
staging/fbtft : Add missing whitespace around operators
Add blank spaces around operators where recommended
by checkpatch.pl
Signed-off-by: Anish Bhatt <anish@chelsio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fbtft/fb_ili9341.c')
-rw-r--r-- | drivers/staging/fbtft/fb_ili9341.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/fbtft/fb_ili9341.c b/drivers/staging/fbtft/fb_ili9341.c index 6629de352571..d07a312ad293 100644 --- a/drivers/staging/fbtft/fb_ili9341.c +++ b/drivers/staging/fbtft/fb_ili9341.c @@ -105,7 +105,7 @@ static int set_var(struct fbtft_par *par) break; case 270: write_reg(par, 0x36, - (1<<MEM_V) | (1 << MEM_L) | (par->bgr << MEM_BGR)); + (1 << MEM_V) | (1 << MEM_L) | (par->bgr << MEM_BGR)); break; case 180: write_reg(par, 0x36, (1 << MEM_Y) | (par->bgr << MEM_BGR)); @@ -124,7 +124,7 @@ static int set_var(struct fbtft_par *par) Positive: Par1 Par2 [...] Par15 Negative: Par1 Par2 [...] Par15 */ -#define CURVE(num, idx) curves[num*par->gamma.num_values + idx] +#define CURVE(num, idx) curves[num * par->gamma.num_values + idx] static int set_gamma(struct fbtft_par *par, unsigned long *curves) { int i; |