regulator: wm8400: Fix trivial typo
authorAxel Lin <axel.lin@ingics.com>
Wed, 27 Feb 2019 05:54:21 +0000 (13:54 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 11 Mar 2019 16:36:44 +0000 (16:36 +0000)
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: Axel Lin <axel.lin@ingics.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/wm8400-regulator.c

index 40c4e66284715d2f4982bf06e3064f8b53d5bd40..5ce86b92851bc509d514528c1b1ba22f4b3cf33a 100644 (file)
@@ -194,7 +194,7 @@ static struct regulator_desc regulators[] = {
                .id = WM8400_DCDC2,
                .ops = &wm8400_dcdc_ops,
                .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,
                .vsel_reg = WM8400_DCDC2_CONTROL_1,
                .vsel_mask = WM8400_DC2_VSEL_MASK,