Re: Problem with "driver core: platform: Add an error message to platform_get_irq*()" commit

From: Stephen Boyd
Date: Thu Oct 03 2019 - 16:25:15 EST


Quoting Hans de Goede (2019-10-03 13:20:24)
>
> The best solution I can come up with is adding a new
> platform_get_irq_byname_optional mirroring platform_get_irq_optional
> and using that in drivers such as the dwc3 driver.
>
> Does anyone have a better suggestion?
>

A byname_optional API sounds good to me.