Re: [PATCH v2] iio: accel: adxl380: fix handling of unavailable "INT1" interrupt
From: Andy Shevchenko
Date: Fri Nov 28 2025 - 10:31:59 EST
On Fri, Nov 28, 2025 at 4:07 PM Francesco Lavra <flavra@xxxxxxxxxxxx> wrote:
>
> fwnode_irq_get_byname() returns a negative value on failure; if a negative
> value is returned, use it as `err` argument for dev_err_probe().
Reviewed-by: Andy Shevchenko <andy@xxxxxxxxxx>
...
> + if (st->irq < 0)
> + return dev_err_probe(st->dev, st->irq,
> "no interrupt name specified");
Just noticed that the trailing \n is missing.
Can be also folded or done in a separate patch. Up to you.
--
With Best Regards,
Andy Shevchenko