Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jingoo Han and committed by
Mark Brown
350ff52d 96fa8c4b

+1 -1
+1 -1
drivers/regulator/tps80031-regulator.c
··· 115 115 ri->rinfo->state_reg, ret); 116 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 121 static int tps80031_reg_enable(struct regulator_dev *rdev)