Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 770030cf authored by Sundara Vinayagam's avatar Sundara Vinayagam
Browse files

power: smb1360: Update the OTG regulator name for SMB1360



Update the OTG regulator name to 'qcom,smb1360-vbus' to 
match the name used while defining the regulator in DT.

Change-Id: Ic19b543c45d57ba0c6adb07932c0ca5787e90ff9
Signed-off-by: default avatarSundara Vinayagam <sundvi@codeaurora.org>
parent 704d1960
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3424,8 +3424,8 @@ static int smb1360_regulator_init(struct smb1360_chip *chip)
	chip->otg_vreg.rdesc.owner = THIS_MODULE;
	chip->otg_vreg.rdesc.type = REGULATOR_VOLTAGE;
	chip->otg_vreg.rdesc.ops = &smb1360_otg_reg_ops;
	chip->otg_vreg.rdesc.of_match = chip->dev->of_node->name;
	chip->otg_vreg.rdesc.name = chip->dev->of_node->name;
	chip->otg_vreg.rdesc.of_match = "qcom,smb1360-vbus";
	chip->otg_vreg.rdesc.name = "qcom,smb1360-vbus";

	cfg.dev = chip->dev;
	cfg.driver_data = chip;