disp: msm: dsi: mitigate errors on non-parsed regulator nodes

Mitigate errors to debug logs on non-parsed regulator look ups. Callers
can make use of the return value to handle failures.

Change-Id: Ib0ed869e92104ac7e859484b247ac99bf332fa5c
Signed-off-by: Jeykumar Sankaran <quic_jeykumar@quicinc.com>
This commit is contained in:
Jeykumar Sankaran
2022-03-03 18:16:50 -08:00
والد cc993be15a
کامیت a8b968f64b

مشاهده پرونده

@@ -443,7 +443,7 @@ int dsi_pwr_panel_regulator_mode_set(struct dsi_regulator_info *regs,
}
if (i >= regs->count) {
DSI_ERR("Regulator %s was not found\n", reg_name);
DSI_DEBUG("Regulator %s was not found\n", reg_name);
return -EINVAL;
}