staging: fbtft: fix unaligned parentheses
authorUmang Raghuvanshi <u@umangis.me>
Sun, 5 Feb 2017 14:52:45 +0000 (20:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Feb 2017 17:31:04 +0000 (18:31 +0100)
Fix the following formatting issues:
CHECK: Alignment should match open parenthesis

Signed-off-by: Umang Raghuvanshi <u@umangis.me>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_ssd1306.c
drivers/staging/fbtft/fb_ssd1331.c
drivers/staging/fbtft/fb_ssd1351.c

index 722baca03d3a63e8ec96808b978c5a9e9e0f20ef..96c58de85288ed7342e647f63a907311bc348ee8 100644 (file)
@@ -158,7 +158,7 @@ static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
 static int blank(struct fbtft_par *par, bool on)
 {
        fbtft_par_dbg(DEBUG_BLANK, par, "%s(blank=%s)\n",
-               __func__, on ? "true" : "false");
+                     __func__, on ? "true" : "false");
 
        if (on)
                write_reg(par, 0xAE);
index 3de21897aeafae3aa13826f4b355424de0c55c72..26f24e32d979bf9a3b441cacb67285a46cb4446b 100644 (file)
@@ -145,14 +145,16 @@ static int set_gamma(struct fbtft_par *par, u32 *curves)
        }
 
        write_reg(par, 0xB8,
-       tmp[0], tmp[1], tmp[2], tmp[3], tmp[4], tmp[5], tmp[6], tmp[7],
-       tmp[8], tmp[9], tmp[10], tmp[11], tmp[12], tmp[13], tmp[14], tmp[15],
-       tmp[16], tmp[17], tmp[18], tmp[19], tmp[20], tmp[21], tmp[22], tmp[23],
-       tmp[24], tmp[25], tmp[26], tmp[27], tmp[28], tmp[29], tmp[30], tmp[31],
-       tmp[32], tmp[33], tmp[34], tmp[35], tmp[36], tmp[37], tmp[38], tmp[39],
-       tmp[40], tmp[41], tmp[42], tmp[43], tmp[44], tmp[45], tmp[46], tmp[47],
-       tmp[48], tmp[49], tmp[50], tmp[51], tmp[52], tmp[53], tmp[54], tmp[55],
-       tmp[56], tmp[57], tmp[58], tmp[59], tmp[60], tmp[61], tmp[62]);
+                 tmp[0], tmp[1], tmp[2], tmp[3], tmp[4], tmp[5], tmp[6],
+                 tmp[7], tmp[8], tmp[9], tmp[10], tmp[11], tmp[12], tmp[13],
+                 tmp[14], tmp[15], tmp[16], tmp[17], tmp[18], tmp[19], tmp[20],
+                 tmp[21], tmp[22], tmp[23], tmp[24], tmp[25], tmp[26], tmp[27],
+                 tmp[28], tmp[29], tmp[30], tmp[31], tmp[32], tmp[33], tmp[34],
+                 tmp[35], tmp[36], tmp[37], tmp[38], tmp[39], tmp[40], tmp[41],
+                 tmp[42], tmp[43], tmp[44], tmp[45], tmp[46], tmp[47], tmp[48],
+                 tmp[49], tmp[50], tmp[51], tmp[52], tmp[53], tmp[54], tmp[55],
+                 tmp[56], tmp[57], tmp[58], tmp[59], tmp[60], tmp[61],
+                 tmp[62]);
 
        return 0;
 }
@@ -160,7 +162,7 @@ static int set_gamma(struct fbtft_par *par, u32 *curves)
 static int blank(struct fbtft_par *par, bool on)
 {
        fbtft_par_dbg(DEBUG_BLANK, par, "%s(blank=%s)\n",
-               __func__, on ? "true" : "false");
+                     __func__, on ? "true" : "false");
        if (on)
                write_reg(par, 0xAE);
        else
index d006ba20ef443a69d05c9b97c36b636884e9e11c..e62235d4d9e7ea0466ce5d19c041a97974b88294 100644 (file)
@@ -71,8 +71,8 @@ static int set_var(struct fbtft_par *par)
        if (par->fbtftops.init_display != init_display) {
                /* don't risk messing up register A0h */
                fbtft_par_dbg(DEBUG_INIT_DISPLAY, par,
-                       "%s: skipping since custom init_display() is used\n",
-                       __func__);
+                             "%s: skipping since custom init_display() is used\n",
+                              __func__);
                return 0;
        }