public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] staging: sm750fb: ddk750_power.c: Remove optionnal parentheses.
@ 2015-07-17 13:04 Antoine BLIN
  2015-07-17 13:04 ` [PATCH 2/2] staging: sm750fb: ddk750_power.c: Split lines over 80 characters Antoine BLIN
  2015-07-23  3:56 ` [PATCH 1/2] staging: sm750fb: ddk750_power.c: Remove optionnal parentheses Greg KH
  0 siblings, 2 replies; 3+ messages in thread
From: Antoine BLIN @ 2015-07-17 13:04 UTC (permalink / raw)
  To: sudipm.mukherjee
  Cc: teddy.wang, gregkh, linux-fbdev, devel, linux-kernel,
	Antoine BLIN

Fix up "return is not a function, parentheses are not required" error found by
the checkpatch.pl script.

Signed-off-by: Antoine BLIN <antoine.blin@lip6.fr>
---
 drivers/staging/sm750fb/ddk750_power.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/sm750fb/ddk750_power.c b/drivers/staging/sm750fb/ddk750_power.c
index c8c51be..3c04447 100644
--- a/drivers/staging/sm750fb/ddk750_power.c
+++ b/drivers/staging/sm750fb/ddk750_power.c
@@ -20,7 +20,7 @@ unsigned int getPowerMode(void)
 {
 	if (getChipType() == SM750LE)
 		return 0;
-	return (FIELD_GET(PEEK32(POWER_MODE_CTRL), POWER_MODE_CTRL, MODE));
+	return FIELD_GET(PEEK32(POWER_MODE_CTRL), POWER_MODE_CTRL, MODE);
 }
 
 
-- 
2.4.5


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

end of thread, other threads:[~2015-07-23  3:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-17 13:04 [PATCH 1/2] staging: sm750fb: ddk750_power.c: Remove optionnal parentheses Antoine BLIN
2015-07-17 13:04 ` [PATCH 2/2] staging: sm750fb: ddk750_power.c: Split lines over 80 characters Antoine BLIN
2015-07-23  3:56 ` [PATCH 1/2] staging: sm750fb: ddk750_power.c: Remove optionnal parentheses Greg KH

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