Commit 178d08ea authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

regulator: wm8400: Fix trivial typo

Use WM8400_DC2_ENA_MASK for DCDC2 enable_mask.
The define is the same as WM8400_DC1_ENA_MASK, just a cleanup.
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent e08abeca
...@@ -194,7 +194,7 @@ static struct regulator_desc regulators[] = { ...@@ -194,7 +194,7 @@ static struct regulator_desc regulators[] = {
.id = WM8400_DCDC2, .id = WM8400_DCDC2,
.ops = &wm8400_dcdc_ops, .ops = &wm8400_dcdc_ops,
.enable_reg = WM8400_DCDC2_CONTROL_1, .enable_reg = WM8400_DCDC2_CONTROL_1,
.enable_mask = WM8400_DC1_ENA_MASK, .enable_mask = WM8400_DC2_ENA_MASK,
.n_voltages = WM8400_DC2_VSEL_MASK + 1, .n_voltages = WM8400_DC2_VSEL_MASK + 1,
.vsel_reg = WM8400_DCDC2_CONTROL_1, .vsel_reg = WM8400_DCDC2_CONTROL_1,
.vsel_mask = WM8400_DC2_VSEL_MASK, .vsel_mask = WM8400_DC2_VSEL_MASK,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment