staging: fbtft: fb_s6d02a1.c: Fix checkpatch warning
authorAnson Jacob <ansonjacob.aj@gmail.com>
Thu, 25 Aug 2016 15:23:08 +0000 (11:23 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Sep 2016 16:03:21 +0000 (18:03 +0200)
Fix checkpatch.pl warning:
Block comments use * on subsequent lines
Block comments use a trailing */ on a separate line

Signed-off-by: Anson Jacob <ansonjacob.aj@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_s6d02a1.c

index 3113355062fc6902a464cbc32a9415f2eba2310b..774b0ff69e6dd83952355a4f04e596b720108e9e 100644 (file)
@@ -113,12 +113,14 @@ static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
 #define MV BIT(5)
 static int set_var(struct fbtft_par *par)
 {
-       /* Memory data access control (0x36h)
-            RGB/BGR:
-               1. Mode selection pin SRGB
-                       RGB H/W pin for color filter setting: 0=RGB, 1=BGR
-               2. MADCTL RGB bit
-                       RGB-BGR ORDER color filter panel: 0=RGB, 1=BGR */
+       /*
+        * Memory data access control (0x36h)
+        * RGB/BGR:
+        *      1. Mode selection pin SRGB
+        *              RGB H/W pin for color filter setting: 0=RGB, 1=BGR
+        *      2. MADCTL RGB bit
+        *              RGB-BGR ORDER color filter panel: 0=RGB, 1=BGR
+        */
        switch (par->info->var.rotate) {
        case 0:
                write_reg(par, MIPI_DCS_SET_ADDRESS_MODE,