[PATCH 2/9] i2c: mlxbf: Use dev_err_probe in probe function
Andi Shyti
andi.shyti at kernel.org
Fri Aug 4 15:11:02 PDT 2023
Hi Liao,
On Wed, Aug 02, 2023 at 05:57:30PM +0800, Liao Chang wrote:
> Use the dev_err_probe function instead of dev_err in the probe function
> so that the printed messge includes the return value and also handles
> -EPROBE_DEFER nicely.
>
> Signed-off-by: Liao Chang <liaochang1 at huawei.com>
Reviewed-by: Andi Shyti <andi.shyti at kernel.org>
Andi
More information about the linux-arm-kernel
mailing list