[PATCH 5/9] i2c: qcom-cci: Use dev_err_probe in probe function

Andi Shyti andi.shyti at kernel.org
Tue Aug 1 14:38:20 PDT 2023


Hi Liao,

On Fri, Jul 28, 2023 at 09:31:44AM +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