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

Commit e1db7b53 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: pil-q6v5: Handle undefined CONFIG_REGULATOR correctly"

parents 11e82089 939c806b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -272,7 +272,7 @@ struct q6v5_data *pil_q6v5_init(struct platform_device *pdev)
		return ERR_CAST(drv->vreg_cx);
		return ERR_CAST(drv->vreg_cx);


	drv->vreg_pll = devm_regulator_get(&pdev->dev, "vdd_pll");
	drv->vreg_pll = devm_regulator_get(&pdev->dev, "vdd_pll");
	if (!IS_ERR(drv->vreg_pll)) {
	if (!IS_ERR_OR_NULL(drv->vreg_pll)) {
		int voltage;
		int voltage;
		ret = of_property_read_u32(pdev->dev.of_node, "qcom,vdd_pll",
		ret = of_property_read_u32(pdev->dev.of_node, "qcom,vdd_pll",
					   &voltage);
					   &voltage);