Re: [PATCH v3 23/24] platform: Modify platform_get_irq_optional() to use resource

Mark Hasemeyer
2023-12-27T20:33:26Z

> > - struct resource *r;
> ...
> > + struct resource *platform_res = platform_get_resource(dev, IORESOURCE_IRQ, num);
>
> This is quite unusual (as far as cleanup.h is not used and there is no place
> for it here).

Sorry, what's unusual? The declaration of a separate 'platform_res'?
If so, I introduced it because I wanted to avoid setting 'r' if
'irq_get_irq_data()' fails below.