From: Aaron Ouellette Date: Fri, 17 Jul 2015 01:21:16 +0000 (-0400) Subject: staging: sm750fb: removed extra parentheses X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9d7a0ffe6d83fcafac7825fe589f856a772f7389;p=openwrt%2Fstaging%2Fblogic.git staging: sm750fb: removed extra parentheses fixed checkpatch.pl error: ERROR: return is not a function, parentheses are not needed Signed-off-by: Aaron Ouellette Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/sm750fb/ddk750_power.c b/drivers/staging/sm750fb/ddk750_power.c index c8c51be53d68..3c04447f0283 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); }