Skip to contentSkip to conversation

regulatore: Remove redundant regmap_update_bits call for TPS65023_REG_CON_CTRL2

PATCH Superseded Axel Lin 1 participant 1 message Feb 6, 2012 Voltage and current regulator framework

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 regulatore: Remove redundant regmap_update_bits call for TPS65023_REG_CON_CTRL2

This looks like a merge mistake. Calling regmap_update_bits once is enough.

---
 drivers/regulator/tps65023-regulator.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
drivers/regulator/tps65023-regulator.c +0 -4
index 18d61a0..43e4902 100644
@@ -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