mbox series

[linux-next,0/2] Use dev_err_probe() in gpu

Message ID 20250402193656279azy9TKahAE5TQ5-i4XCQT@zte.com.cn (mailing list archive)
Headers show
Series Use dev_err_probe() in gpu | expand

Message

shao.mingyin@zte.com.cn April 2, 2025, 11:36 a.m. UTC
From: Zhang Enpei <zhang.enpei@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(-)