aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/regulator/sc2731-regulator.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/regulator/sc2731-regulator.c b/drivers/regulator/sc2731-regulator.c
index 794fcd504b3d..eb2bdf060b7b 100644
--- a/drivers/regulator/sc2731-regulator.c
+++ b/drivers/regulator/sc2731-regulator.c
@@ -13,8 +13,8 @@
13/* 13/*
14 * SC2731 regulator lock register 14 * SC2731 regulator lock register
15 */ 15 */
16#define SC2731_PWR_WR_PROT_VALUE 0xf0c 16#define SC2731_PWR_WR_PROT 0xf0c
17#define SC2731_WR_UNLOCK 0x6e7f 17#define SC2731_WR_UNLOCK_VALUE 0x6e7f
18 18
19/* 19/*
20 * SC2731 enable register 20 * SC2731 enable register
@@ -203,8 +203,8 @@ static struct regulator_desc regulators[] = {
203 203
204static int sc2731_regulator_unlock(struct regmap *regmap) 204static int sc2731_regulator_unlock(struct regmap *regmap)
205{ 205{
206 return regmap_write(regmap, SC2731_PWR_WR_PROT_VALUE, 206 return regmap_write(regmap, SC2731_PWR_WR_PROT,
207 SC2731_WR_UNLOCK); 207 SC2731_WR_UNLOCK_VALUE);
208} 208}
209 209
210static int sc2731_regulator_probe(struct platform_device *pdev) 210static int sc2731_regulator_probe(struct platform_device *pdev)