Commit e3f680dd authored by Gargi Sharma's avatar Gargi Sharma Committed by Greg Kroah-Hartman

staging: fbtft: add spaces around <<

add spaces around << to fix the checkpatch issue, spaces preferred
around that '<<'.
Signed-off-by: default avatarGargi Sharma <gs051095@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 007afa8b
...@@ -80,10 +80,10 @@ static int set_var(struct fbtft_par *par) ...@@ -80,10 +80,10 @@ static int set_var(struct fbtft_par *par)
switch (par->info->var.rotate) { switch (par->info->var.rotate) {
case 0: case 0:
write_reg(par, 0xA0, remap | 0x00 | 1<<4); write_reg(par, 0xA0, remap | 0x00 | 1 << 4);
break; break;
case 270: case 270:
write_reg(par, 0xA0, remap | 0x03 | 1<<4); write_reg(par, 0xA0, remap | 0x03 | 1 << 4);
break; break;
case 180: case 180:
write_reg(par, 0xA0, remap | 0x02); write_reg(par, 0xA0, remap | 0x02);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment