diff options
author | Yumeng Fang <fang.yumeng@zte.com.cn> | 2025-05-15 20:35:54 +0800 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2025-07-08 17:35:49 +0200 |
commit | 52008d6fe7fa84ecf23864c5cc373beb085f30b9 (patch) | |
tree | 6f358305d39cc3a778ece8c962840ad0a0af78ca /rust/helpers/pci.c | |
parent | afbbca25d06e2d361016da43dbb90f3a6034913b (diff) |
drm/rockchip: dw_hdmi: Use dev_err_probe() to simplify code
In the probe path, dev_err() can be replaced with dev_err_probe()
which will check if error code is -EPROBE_DEFER and prints the
error name. It also sets the defer probe reason which can be
checked later through debugfs.
Signed-off-by: Yumeng Fang <fang.yumeng@zte.com.cn>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250515203554564-j1jBXUXR6bdiN6zARicC@zte.com.cn
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions