staging: sm750fb: removed extra parentheses
authorAaron Ouellette <aouellette2016@gmail.com>
Fri, 17 Jul 2015 01:21:16 +0000 (21:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 03:56:03 +0000 (20:56 -0700)
fixed checkpatch.pl error:
ERROR: return is not a function, parentheses are not needed

Signed-off-by: Aaron Ouellette <aouellette2016@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_power.c

index c8c51be53d68ca1e20d93337e670c54a6aa82108..3c04447f028350f2e467fcbf04c06ac869f8cc45 100644 (file)
@@ -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);
 }