diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-02-25 20:19:30 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-04 23:33:18 -0500 |
commit | 350ff52d409da8e081bcd79dd64d2093be896134 (patch) | |
tree | 2e21152bf23dfc448117b4f9f2a1da21bd7fc07b | |
parent | 96fa8c4b9b2c99ad6baa698c94d3fa295fa8f871 (diff) |
regulator: tps80031: remove unnecessary parentheses
Remove unnecessary parentheses in order to fix the following
checkpatch error.
ERROR: return is not a function, parentheses are not required
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | drivers/regulator/tps80031-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/tps80031-regulator.c b/drivers/regulator/tps80031-regulator.c index ac88c988bb2e..26aa6d9c308f 100644 --- a/drivers/regulator/tps80031-regulator.c +++ b/drivers/regulator/tps80031-regulator.c | |||
@@ -115,7 +115,7 @@ static int tps80031_reg_is_enabled(struct regulator_dev *rdev) | |||
115 | ri->rinfo->state_reg, ret); | 115 | ri->rinfo->state_reg, ret); |
116 | return ret; | 116 | return ret; |
117 | } | 117 | } |
118 | return ((reg_val & TPS80031_STATE_MASK) == TPS80031_STATE_ON); | 118 | return (reg_val & TPS80031_STATE_MASK) == TPS80031_STATE_ON; |
119 | } | 119 | } |
120 | 120 | ||
121 | static int tps80031_reg_enable(struct regulator_dev *rdev) | 121 | static int tps80031_reg_enable(struct regulator_dev *rdev) |