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

From: Greg Kroah-Hartman
Date: Fri Oct 04 2019 - 08:17:58 EST


On Thu, Oct 03, 2019 at 01:25:09PM -0700, Stephen Boyd wrote:
> 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.
>

Sounds fine to me as well.

greg k-h