Skip to contentSkip to conversation

staging: panel: Fixed line over 80 characters long

PATCH In review Anjali Menon 2 participants 2 messages Nov 21, 2015 – Nov 23, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: panel: Fixed line over 80 characters long

Moved the comments to the next line to remove the warning detected by the checkpatch.pl.

WARNING: line over 80 characters

---
 drivers/staging/panel/panel.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/staging/panel/panel.c +3 -1
index 79ac192..a810f6f 100644
@@ -947,7 +947,9 @@ static void lcd_clear_fast_s(void)
 		lcd_send_serial(0x5F);	/* R/W=W, RS=1 */
 		lcd_send_serial(' ' & 0x0F);
 		lcd_send_serial((' ' >> 4) & 0x0F);
-		usleep_range(40, 100);	/* the shortest data takes at least 40 us */
+		usleep_range(40, 100);
+		/* the shortest data takes at least 40 us */
+		usleep_range(40, 100);
 	}
 	spin_unlock_irq(&pprt_lock);
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 15 lines · Anjali Menon

Moved the comments to the next line to remove the warning detected by the checkpatch.pl.

WARNING: line over 80 characters

---
 drivers/staging/panel/panel.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/staging/panel/panel.c +0 -0
index 79ac192..a810f6f 100644

drivers/staging/panel/panel.c static void lcd_clear_fast_s(void) · line 952

Quoted 7 lines
drivers/staging/panel/panel.c +3 -1
@@ -947,7 +947,9 @@ static void lcd_clear_fast_s(void)
 		lcd_send_serial(0x5F);	/* R/W=W, RS=1 */
 		lcd_send_serial(' ' & 0x0F);
 		lcd_send_serial((' ' >> 4) & 0x0F);
-		usleep_range(40, 100);	/* the shortest data takes at least 40 us */
+		usleep_range(40, 100);
+		/* the shortest data takes at least 40 us */
+		usleep_range(40, 100);

You introduced one new usleep_range(40, 100).

regards
sudip