projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
007afa8
)
staging: fbtft: add spaces around <<
author
Gargi Sharma
<gs051095@gmail.com>
Thu, 15 Sep 2016 22:38:12 +0000
(
04:08
+0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 16 Sep 2016 08:31:18 +0000
(10:31 +0200)
add spaces around << to fix the checkpatch issue, spaces preferred
around that '<<'.
Signed-off-by: Gargi Sharma <gs051095@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_ssd1351.c
patch
|
blob
|
history
diff --git
a/drivers/staging/fbtft/fb_ssd1351.c
b/drivers/staging/fbtft/fb_ssd1351.c
index
ab1a31d
..
200aa9b
100644
(file)
--- a/
drivers/staging/fbtft/fb_ssd1351.c
+++ b/
drivers/staging/fbtft/fb_ssd1351.c
@@
-80,10
+80,10
@@
static int set_var(struct fbtft_par *par)
switch (par->info->var.rotate) {
case 0:
- write_reg(par, 0xA0, remap | 0x00 | 1
<<
4);
+ write_reg(par, 0xA0, remap | 0x00 | 1
<<
4);
break;
case 270:
- write_reg(par, 0xA0, remap | 0x03 | 1
<<
4);
+ write_reg(par, 0xA0, remap | 0x03 | 1
<<
4);
break;
case 180:
write_reg(par, 0xA0, remap | 0x02);