Skip to content
Commit 38d09b98 authored by Wang Ming's avatar Wang Ming Committed by Philipp Zabel
Browse files

reset: hisilicon: Use dev_err_probe instead of dev_err



The probe process may generate EPROBE_DEFER. In this case,
dev_err_probe can still record err information.
This helps simplify code and standardize error output.

Signed-off-by: default avatarWang Ming <machel@vivo.com>
Link: https://lore.kernel.org/r/20230726114555.5011-1-machel@vivo.com


Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent f7cb24e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment