Message ID | 20230728013148.1720978-1-liaochang1@huawei.com |
---|---|
Headers | show |
Series | Use dev_err_probe in i2c probe function | expand |
On 7/27/2023 6:31 PM, 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@huawei.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>