[PATCH 2/4] soc: aspeed: Simplify code with dev_err_probe()
Andrew Jeffery
andrew at codeconstruct.com.au
Thu Sep 12 12:40:30 AEST 2024
On Mon, 2024-09-09 at 20:29 +0800, Zhang Zekun wrote:
> Use dev_err_probe() directly in the driver probe phase, and we
> don't need to judge if the error code is not equal to -EPROBE_DEFER.
> This can simplify the code a bit.
>
> Signed-off-by: Zhang Zekun <zhangzekun11 at huawei.com>
Reviewed-by: Andrew Jeffery <andrew at codeconstruct.com.au>
More information about the Linux-aspeed
mailing list