From: Axel Lin Date: Sat, 29 Dec 2018 11:40:47 +0000 (+0800) Subject: regulator: lochnagar: Set up correct .data field for "cirrus,lochnagar2-mic2vdd" X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4cac31e2be6e569bd55f936e662d2d146325b74c;p=openwrt%2Fstaging%2Fblogic.git regulator: lochnagar: Set up correct .data field for "cirrus,lochnagar2-mic2vdd" Fix trival copy-n-paste mistake. Signed-off-by: Axel Lin Acked-by: Charles Keepax Signed-off-by: Mark Brown --- 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",