mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] staging: panel: Fixed line over 80 characters long
@ 2015-11-21  3:56 Anjali Menon
  2015-11-23  8:55 ` Sudip Mukherjee
  0 siblings, 1 reply; 2+ messages in thread
From: Anjali Menon @ 2015-11-21  3:56 UTC (permalink / raw)
  To: gregkh; +Cc: sudipm.mukherjee, devel, linux-kernel, Anjali Menon

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: panel: Fixed line over 80 characters long
  2015-11-21  3:56 [PATCH] staging: panel: Fixed line over 80 characters long Anjali Menon
@ 2015-11-23  8:55 ` Sudip Mukherjee
  0 siblings, 0 replies; 2+ messages in thread
From: Sudip Mukherjee @ 2015-11-23  8:55 UTC (permalink / raw)
  To: Anjali Menon; +Cc: gregkh, devel, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-23  8:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-21  3:56 [PATCH] staging: panel: Fixed line over 80 characters long Anjali Menon
2015-11-23  8:55 ` Sudip Mukherjee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®