regulator: lochnagar: Set up correct .data field for "cirrus,lochnagar2-mic2vdd"
authorAxel Lin <axel.lin@ingics.com>
Sat, 29 Dec 2018 11:40:47 +0000 (19:40 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 31 Dec 2018 18:48:49 +0000 (18:48 +0000)
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>
drivers/regulator/lochnagar-regulator.c

index 5a89e6d4b9a6bd51925d374a434614d159c69dd2..818d2041051867e8c255e75b08490da7477fe769 100644 (file)
@@ -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",