[PATCH] drm/rockchip: Use dev_err_probe() to simplify code

Krzysztof Kozlowski krzk at kernel.org
Thu May 15 08:54:20 PDT 2025


On 15/05/2025 14:35, long.yunjian at zte.com.cn wrote:
> From: Yumeng Fang <fang.yumeng at zte.com.cn>
> 
> In the probe path, dev_err() can be replaced with dev_err_probe()

That's not probe path. I am not sure if you really understand this code.

> 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 at zte.com.cn>

Incomplete chain.



Best regards,
Krzysztof



More information about the Linux-rockchip mailing list