summaryrefslogtreecommitdiffstats
path: root/drivers/staging/fbtft/fb_ili9163.c
diff options
context:
space:
mode:
authorAnish Bhatt <anish7@gmail.com>2015-09-03 00:53:37 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-12 18:24:37 -0700
commit94c0a5442708dbc4226f8aabcf9163caac179a92 (patch)
treeb441bdf455a18ee004ffc25129c562111bfd9131 /drivers/staging/fbtft/fb_ili9163.c
parent1014c2ce082241db728e0528dd5f1bfb04fd0b06 (diff)
downloadlinux-94c0a5442708dbc4226f8aabcf9163caac179a92.tar.bz2
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_ili9163.c')
-rw-r--r--drivers/staging/fbtft/fb_ili9163.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/fbtft/fb_ili9163.c b/drivers/staging/fbtft/fb_ili9163.c
index 799283f52ba1..d166ca905d97 100644
--- a/drivers/staging/fbtft/fb_ili9163.c
+++ b/drivers/staging/fbtft/fb_ili9163.c
@@ -227,7 +227,7 @@ static int set_var(struct fbtft_par *par)
}
#ifdef GAMMA_ADJ
-#define CURVE(num, idx) curves[num*par->gamma.num_values + idx]
+#define CURVE(num, idx) curves[num * par->gamma.num_values + idx]
static int gamma_adj(struct fbtft_par *par, unsigned long *curves)
{
unsigned long mask[] = {
@@ -240,7 +240,7 @@ static int gamma_adj(struct fbtft_par *par, unsigned long *curves)
for (i = 0; i < GAMMA_NUM; i++)
for (j = 0; j < GAMMA_LEN; j++)
- CURVE(i, j) &= mask[i*par->gamma.num_values + j];
+ CURVE(i, j) &= mask[i * par->gamma.num_values + j];
write_reg(par, CMD_PGAMMAC,
CURVE(0, 0),