From: Zhang Enpei <zhang.en...@zte.com.cn> Use dev_err_probe() to simplify the following code sequence: if (err != -EPROBE_DEFER) dev_err(dev, ...); else dev_dbg(dev, ...); return err;
Zhang Enpei (2): gpu: drm: tegra: dpaux: Use dev_err_probe() gpu: drm: xlnx: zynqmp_dp: Use dev_err_probe() drivers/gpu/drm/tegra/dpaux.c | 11 +++-------- drivers/gpu/drm/xlnx/zynqmp_dp.c | 6 ++---- 2 files changed, 5 insertions(+), 12 deletions(-) -- 2.25.1