Re: [PATCH] iio: pressure: rohm-bm1390: notify trigger on all error paths

From: Andy Shevchenko

Date: Mon May 18 2026 - 02:54:52 EST


On Sun, May 17, 2026 at 09:08:01PM +0500, Stepan Ionichev wrote:
> bm1390_trigger_handler() has three error returns:

...

> + irqreturn_t result = IRQ_HANDLED;

Make result boolean and use IRQ_RETVAL() macro once.

--
With Best Regards,
Andy Shevchenko