[PATCH v5 3/6] i2c: xiic: switch to devres managed APIs
Andy Shevchenko
andriy.shevchenko at intel.com
Tue Jan 27 01:39:06 PST 2026
On Tue, Jan 27, 2026 at 11:35:38AM +0200, Andy Shevchenko wrote:
> On Mon, Jan 26, 2026 at 05:08:18PM +0000, Abdurrahman Hussain via B4 Relay wrote:
...
> > if (ret < 0) {
> > dev_err_probe(&pdev->dev, ret, "Cannot claim IRQ\n");
> > - goto err_pm_disable;
> > + return ret;
>
> return dev_err_probe(...);
Actually you are right as here we remove the message in the next patch,
so discard my previous comment.
> > }
...
> > ret = xiic_reinit(i2c);
> > if (ret < 0) {
> > dev_err_probe(&pdev->dev, ret, "Cannot xiic_reinit\n");
>
> Ditto.
>
> > - goto err_pm_disable;
> > + return ret;
But here it will stay, so
return dev_err_probe(dev, ret, "Cannot xiic_reinit\n");
> > }
--
With Best Regards,
Andy Shevchenko
More information about the linux-arm-kernel
mailing list