[PATCH 1/9] i2c: bcm2835: Use dev_err_probe in probe function

Florian Fainelli florian.fainelli at broadcom.com
Fri Jul 28 08:53:22 PDT 2023



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 at huawei.com>

Reviewed-by: Florian Fainelli <florian.fainelli at broadcom.com>
-- 
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4221 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230728/192e3109/attachment.p7s>


More information about the linux-arm-kernel mailing list