i2c: mlxbf: Use dev_err_probe in probe function
Use the dev_err_probe function instead of dev_err in the probe function so that the printed message includes the return value and also handles -EPROBE_DEFER nicely. Signed-off-by:Liao Chang <liaochang1@huawei.com> Reviewed-by:
Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20230808012954.1643834-3-liaochang1@huawei.com Signed-off-by:
Andi Shyti <andi.shyti@kernel.org>
Loading
Please sign in to comment