diff options
author | Anish Bhatt <anish7@gmail.com> | 2015-09-03 00:53:37 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-12 18:24:37 -0700 |
commit | 94c0a5442708dbc4226f8aabcf9163caac179a92 (patch) | |
tree | b441bdf455a18ee004ffc25129c562111bfd9131 /drivers/staging/fbtft/fbtft-sysfs.c | |
parent | staging/fbtft : Fix multiple/missing blank line issues (diff) | |
download | linux-dev-94c0a5442708dbc4226f8aabcf9163caac179a92.tar.xz linux-dev-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/fbtft-sysfs.c')
-rw-r--r-- | drivers/staging/fbtft/fbtft-sysfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/fbtft/fbtft-sysfs.c b/drivers/staging/fbtft/fbtft-sysfs.c index 73c7ec6de077..8d8bd12b90a1 100644 --- a/drivers/staging/fbtft/fbtft-sysfs.c +++ b/drivers/staging/fbtft/fbtft-sysfs.c @@ -103,8 +103,8 @@ sprintf_gamma(struct fbtft_par *par, unsigned long *curves, char *buf) for (i = 0; i < par->gamma.num_curves; i++) { for (j = 0; j < par->gamma.num_values; j++) len += scnprintf(&buf[len], PAGE_SIZE, - "%04lx ", curves[i*par->gamma.num_values + j]); - buf[len-1] = '\n'; + "%04lx ", curves[i * par->gamma.num_values + j]); + buf[len - 1] = '\n'; } mutex_unlock(&par->gamma.lock); |