* [PATCH] regulatore: Remove redundant regmap_update_bits call for TPS65023_REG_CON_CTRL2
@ 2012-02-06 12:58 Axel Lin
0 siblings, 0 replies; only message in thread
From: Axel Lin @ 2012-02-06 12:58 UTC (permalink / raw)
To: linux-kernel; +Cc: Marcus Folkesson, Anuj Aggarwal, Mark Brown, Liam Girdwood
This looks like a merge mistake. Calling regmap_update_bits once is enough.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/regulator/tps65023-regulator.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers/regulator/tps65023-regulator.c b/drivers/regulator/tps65023-regulator.c
index 18d61a0..43e4902 100644
--- 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:
--
1.7.5.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-02-06 12:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-06 12:58 [PATCH] regulatore: Remove redundant regmap_update_bits call for TPS65023_REG_CON_CTRL2 Axel Lin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox