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


Groups > linux.kernel > #1274602 > unrolled thread

[PATCH] staging: panel: Fixed line over 80 characters long

Started byAnjali Menon <cse.anjalimenon@gmail.com>
First post2015-11-21 05:00 +0100
Last post2015-11-23 10:00 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] staging: panel: Fixed line over 80 characters long Anjali Menon <cse.anjalimenon@gmail.com> - 2015-11-21 05:00 +0100
    Re: [PATCH] staging: panel: Fixed line over 80 characters long Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-11-23 10:00 +0100

#1274602 — [PATCH] staging: panel: Fixed line over 80 characters long

FromAnjali Menon <cse.anjalimenon@gmail.com>
Date2015-11-21 05:00 +0100
Subject[PATCH] staging: panel: Fixed line over 80 characters long
Message-ID<qx7vc-8gr-3@gated-at.bofh.it>
Moved the comments to the next line to remove the warning
detected by the checkpatch.pl.

WARNING: line over 80 characters

Signed-off-by: Anjali Menon <cse.anjalimenon@gmail.com>
---
 drivers/staging/panel/panel.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c
index 79ac192..a810f6f 100644
--- a/drivers/staging/panel/panel.c
+++ b/drivers/staging/panel/panel.c
@@ -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);
 
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1275142

FromSudip Mukherjee <sudipm.mukherjee@gmail.com>
Date2015-11-23 10:00 +0100
Message-ID<qxV8D-7TP-37@gated-at.bofh.it>
In reply to#1274602
On Sat, Nov 21, 2015 at 09:26:32AM +0530, Anjali Menon wrote:
> Moved the comments to the next line to remove the warning
> detected by the checkpatch.pl.
> 
> WARNING: line over 80 characters
> 
> Signed-off-by: Anjali Menon <cse.anjalimenon@gmail.com>
> ---
>  drivers/staging/panel/panel.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c
> index 79ac192..a810f6f 100644
> --- a/drivers/staging/panel/panel.c
> +++ b/drivers/staging/panel/panel.c
> @@ -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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web