Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1470233

[PATCH 1/9] staging: fbtft: fb_s6d02a1.c: Fix checkpatch warning

From Anson Jacob <ansonjacob.aj@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 1/9] staging: fbtft: fb_s6d02a1.c: Fix checkpatch warning
Date 2016-08-25 17:40 +0200
Message-ID <sa4V4-2PH-31@gated-at.bofh.it> (permalink)
References <sa4Ln-2LX-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 drivers/staging/fbtft/fb_s6d02a1.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/fbtft/fb_s6d02a1.c b/drivers/staging/fbtft/fb_s6d02a1.c
index 3113355..774b0ff 100644
--- a/drivers/staging/fbtft/fb_s6d02a1.c
+++ b/drivers/staging/fbtft/fb_s6d02a1.c
@@ -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,
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/9] staging: fbtft: Fix checkpatch warning Anson Jacob <ansonjacob.aj@gmail.com> - 2016-08-25 17:40 +0200
  [PATCH 1/9] staging: fbtft: fb_s6d02a1.c: Fix checkpatch warning Anson Jacob <ansonjacob.aj@gmail.com> - 2016-08-25 17:40 +0200
  [PATCH 3/9] staging: fbtft: fb_ssd1289: Fix checkpatch warning Anson Jacob <ansonjacob.aj@gmail.com> - 2016-08-25 17:40 +0200
  [PATCH 4/9] staging: fbtft: fb_ssd1306: Fix checkpatch warning Anson Jacob <ansonjacob.aj@gmail.com> - 2016-08-25 18:20 +0200
  [PATCH 2/9] staging: fbtft: fb_s6d1121.c: Fix checkpatch warning Anson Jacob <ansonjacob.aj@gmail.com> - 2016-08-25 18:40 +0200

csiph-web