dev_err(dev,"%s: invalid properties: only one of qcom,use-voltage-corner, qcom,use-voltage-floor-corner, qcom,use-voltage-level, or qcom,use-voltage-floor-level may be specified\n",
__func__);
return-EINVAL;
}
/*
* This probe is called for child rpm-regulator devices which have
* properties which are required to configure individual regulator
@@ -1472,33 +1776,12 @@ static int rpm_vreg_device_probe(struct platform_device *pdev)
regulator_type=rpm_vreg->regulator_type;
reg->rpm_vreg=rpm_vreg;
reg->rdesc.ops=vreg_ops[regulator_type];
reg->rdesc.owner=THIS_MODULE;
reg->rdesc.type=REGULATOR_VOLTAGE;
/*
* Switch to voltage corner regulator ops if qcom,use-voltage-corner
* is specified in the device node (SMPS and LDO only).