From 00cea31f0f0f74ea9d30190e9a7cedb6a29727a9 Mon Sep 17 00:00:00 2001 From: Bjorn Andersson Date: Thu, 29 Jan 2015 16:22:57 -0800 Subject: regulator: qcom-rpm: Make it possible to specify supply Make it possible to specify the supply of a regulator, through the vin-supply property in dt. Signed-off-by: Bjorn Andersson Acked-by: Srinivas Kandagatla Signed-off-by: Mark Brown --- drivers/regulator/qcom_rpm-regulator.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/regulator/qcom_rpm-regulator.c') diff --git a/drivers/regulator/qcom_rpm-regulator.c b/drivers/regulator/qcom_rpm-regulator.c index 8364ff3..10e2623 100644 --- a/drivers/regulator/qcom_rpm-regulator.c +++ b/drivers/regulator/qcom_rpm-regulator.c @@ -674,6 +674,7 @@ static int rpm_reg_probe(struct platform_device *pdev) vreg->desc.owner = THIS_MODULE; vreg->desc.type = REGULATOR_VOLTAGE; vreg->desc.name = pdev->dev.of_node->name; + vreg->desc.supply_name = "vin"; vreg->rpm = dev_get_drvdata(pdev->dev.parent); if (!vreg->rpm) { -- cgit v1.1