regulator: Remove redundant regmap_update_bits call for TPS65023_REG_CON_CTRL2
PATCH RESEND 1/1 regulator: Remove redundant regmap_update_bits call for TPS65023_REG_CON_CTRL2
This looks like a merge mistake. Calling regmap_update_bits once is enough.
Signed-off-by Axel Lin <[email protected]>
---
This resend fix a typo in the prefix of the subject.
drivers/regulator/tps65023-regulator.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
drivers/regulator/tps65023-regulator.c +0 -4
@@ -491,10 +491,6 @@ static int __devinit tps_65023_probe(struct i2c_client *client,regmap_update_bits (tps->regmap,TPS65023_REG_CON_CTRL2 ,TPS65023_REG_CTRL2_CORE_ADJ ,TPS65023_REG_CTRL2_CORE_ADJ ); -/* Enable setting output voltage by I2C */ -regmap_update_bits (tps->regmap,TPS65023_REG_CON_CTRL2 , -TPS65023_REG_CTRL2_CORE_ADJ ,TPS65023_REG_CTRL2_CORE_ADJ ); -return 0 ; fail:
Signature · 1 line
1.7.5.4
Mark Brown
AppliedQuoted 3 lines · Axel Lin
This looks like a merge mistake. Calling
regmap_update_bitsonce is enough.Signed-off-by Axel Lin <[email protected]>
Applied, thanks.