All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] Staging: sm750fb: Remove trailing whitespace.
@ 2016-02-23  9:56 Sandhya Bankar
  2016-02-23 18:34 ` [Outreachy kernel] " Julia Lawall
  0 siblings, 1 reply; 2+ messages in thread
From: Sandhya Bankar @ 2016-02-23  9:56 UTC (permalink / raw)
  To: outreachy-kernel

Remove trailing whitespace.This error is detected by checkpatch.pl script.

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
---
*Changes in v2 is :
 Fix unneeded space in front of the else

 drivers/staging/sm750fb/ddk750_power.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/sm750fb/ddk750_power.c b/drivers/staging/sm750fb/ddk750_power.c
index 33e092e..b3c3791 100644
--- a/drivers/staging/sm750fb/ddk750_power.c
+++ b/drivers/staging/sm750fb/ddk750_power.c
@@ -106,9 +106,9 @@ void enable2DEngine(unsigned int enable)
 	u32 gate;
 
 	gate = PEEK32(CURRENT_GATE);
-	if (enable) 
+	if (enable)
 		gate |= (CURRENT_GATE_DE | CURRENT_GATE_CSC);
-	 else 
+	else
 		gate &= ~(CURRENT_GATE_DE | CURRENT_GATE_CSC);
 
 	setCurrentGate(gate);
-- 
1.8.3.4



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

* Re: [Outreachy kernel] [PATCH v2] Staging: sm750fb: Remove trailing whitespace.
  2016-02-23  9:56 [PATCH v2] Staging: sm750fb: Remove trailing whitespace Sandhya Bankar
@ 2016-02-23 18:34 ` Julia Lawall
  0 siblings, 0 replies; 2+ messages in thread
From: Julia Lawall @ 2016-02-23 18:34 UTC (permalink / raw)
  To: Sandhya Bankar; +Cc: outreachy-kernel



On Tue, 23 Feb 2016, Sandhya Bankar wrote:

> Remove trailing whitespace.This error is detected by checkpatch.pl script.

The commit message should reflect everything that is done.

julia

> 
> Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
> ---
> *Changes in v2 is :
>  Fix unneeded space in front of the else
> 
>  drivers/staging/sm750fb/ddk750_power.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/sm750fb/ddk750_power.c b/drivers/staging/sm750fb/ddk750_power.c
> index 33e092e..b3c3791 100644
> --- a/drivers/staging/sm750fb/ddk750_power.c
> +++ b/drivers/staging/sm750fb/ddk750_power.c
> @@ -106,9 +106,9 @@ void enable2DEngine(unsigned int enable)
>  	u32 gate;
>  
>  	gate = PEEK32(CURRENT_GATE);
> -	if (enable) 
> +	if (enable)
>  		gate |= (CURRENT_GATE_DE | CURRENT_GATE_CSC);
> -	 else 
> +	else
>  		gate &= ~(CURRENT_GATE_DE | CURRENT_GATE_CSC);
>  
>  	setCurrentGate(gate);
> -- 
> 1.8.3.4
> 
> -- 
> You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20160223095645.GA3190%40sandhya.
> For more options, visit https://groups.google.com/d/optout.
> 


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

end of thread, other threads:[~2016-02-23 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-23  9:56 [PATCH v2] Staging: sm750fb: Remove trailing whitespace Sandhya Bankar
2016-02-23 18:34 ` [Outreachy kernel] " Julia Lawall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.