staging: fbtft: add spaces around <<
authorGargi Sharma <gs051095@gmail.com>
Thu, 15 Sep 2016 22:38:12 +0000 (04:08 +0530)
committerGreg 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

index ab1a31d91f2d0579241536c5531aded37d6328c0..200aa9ba98f91670e76b7abc0c54580cd8e903c8 100644 (file)
@@ -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);