1
0
Fork 0

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>
hifive-unleashed-5.1
Jingoo Han 2014-02-26 10:19:30 +09:00 committed by Mark Brown
parent 96fa8c4b9b
commit 350ff52d40
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ static int tps80031_reg_is_enabled(struct regulator_dev *rdev)
ri->rinfo->state_reg, ret);
return ret;
}
return ((reg_val & TPS80031_STATE_MASK) == TPS80031_STATE_ON);
return (reg_val & TPS80031_STATE_MASK) == TPS80031_STATE_ON;
}
static int tps80031_reg_enable(struct regulator_dev *rdev)