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

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

Merge "regulator: cpr3-util: add missing error code return statement"

parents 2ec71c76 fc5fd4ef
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1045,12 +1045,11 @@ int cpr3_parse_common_ctrl_data(struct cpr3_controller *ctrl)
	ctrl->vdd_regulator = devm_regulator_get(ctrl->dev, "vdd");
	if (IS_ERR(ctrl->vdd_regulator)) {
		rc = PTR_ERR(ctrl->vdd_regulator);
		if (rc != -EPROBE_DEFER) {
		if (rc != -EPROBE_DEFER)
			cpr3_err(ctrl, "unable request vdd regulator, rc=%d\n",
				 rc);
		return rc;
	}
	}

	ctrl->system_regulator = devm_regulator_get_optional(ctrl->dev,
								"system");