summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/lochnagar-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2018-12-29 19:40:47 +0800
committerMark Brown <broonie@kernel.org>2018-12-31 18:48:49 +0000
commit4cac31e2be6e569bd55f936e662d2d146325b74c (patch)
tree3a62f9a7917545df0a97864a47ce94245259f33f /drivers/regulator/lochnagar-regulator.c
parentcd07e3701fa6a4c68f8493ee1d12caa18d46ec6a (diff)
downloadlinux-stable-4cac31e2be6e569bd55f936e662d2d146325b74c.tar.gz
linux-stable-4cac31e2be6e569bd55f936e662d2d146325b74c.tar.bz2
linux-stable-4cac31e2be6e569bd55f936e662d2d146325b74c.zip
regulator: lochnagar: Set up correct .data field for "cirrus,lochnagar2-mic2vdd"
Fix trival copy-n-paste mistake. 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>
Diffstat (limited to 'drivers/regulator/lochnagar-regulator.c')
-rw-r--r--drivers/regulator/lochnagar-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/lochnagar-regulator.c b/drivers/regulator/lochnagar-regulator.c
index 5a89e6d4b9a6..818d20410518 100644
--- a/drivers/regulator/lochnagar-regulator.c
+++ b/drivers/regulator/lochnagar-regulator.c
@@ -226,7 +226,7 @@ static const struct of_device_id lochnagar_of_match[] = {
},
{
.compatible = "cirrus,lochnagar2-mic2vdd",
- .data = &lochnagar_regulators[LOCHNAGAR_MIC1VDD],
+ .data = &lochnagar_regulators[LOCHNAGAR_MIC2VDD],
},
{
.compatible = "cirrus,lochnagar2-vddcore",