projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20a14b8
)
regulator: Remove redundant regmap_update_bits call for TPS65023_REG_CON_CTRL2
author
Axel Lin
<axel.lin@gmail.com>
Mon, 6 Feb 2012 13:01:14 +0000
(21:01 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 6 Feb 2012 16:38:18 +0000
(16:38 +0000)
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>
drivers/regulator/tps65023-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/tps65023-regulator.c
b/drivers/regulator/tps65023-regulator.c
index
18d61a0
..
43e4902
100644
(file)
--- a/
drivers/regulator/tps65023-regulator.c
+++ b/
drivers/regulator/tps65023-regulator.c
@@
-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: