Re: [PATCH v2 1/2] i2c: designware: convert to dev_err_probe() on request IRQ error

From: Wolfram Sang
Date: Thu Sep 25 2025 - 17:44:53 EST


On Thu, Sep 04, 2025 at 04:31:06PM +0200, Benoît Monin wrote:
> Simplify the error handling of devm_request_irq() in
> i2c_dw_probe_master() and i2c_dw_probe_slave() by converting to:
>
> return dev_err_probe();
>
> instead of calling:
>
> dev_err();
> return ret;
>
> This also handle deferred probe error without spamming the log.
>
> Signed-off-by: Benoît Monin <benoit.monin@xxxxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Acked-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx>

Applied to for-next, thanks!

Attachment: signature.asc
Description: PGP signature