Skip to content

Commit

Permalink
regulator: Remove redundant regmap_update_bits call for TPS65023_REG_…
Browse files Browse the repository at this point in the history
…CON_CTRL2

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

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Axel Lin authored and Mark Brown committed Feb 6, 2012
1 parent 20a14b8 commit 0c3d0b2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/regulator/tps65023-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -487,10 +487,6 @@ static int __devinit tps_65023_probe(struct i2c_client *client,

i2c_set_clientdata(client, tps);

/* 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);

/* 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);
Expand Down

0 comments on commit 0c3d0b2

Please sign in to comment.