[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5d965926.1c69fb81.6d844.cdc4@mx.google.com>
Date: Thu, 03 Oct 2019 13:25:09 -0700
From: Stephen Boyd <swboyd@...omium.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Hans de Goede <hdegoede@...hat.com>
Cc: Andy Shevchenko <andy@...radead.org>,
linux-usb <linux-usb@...r.kernel.org>,
linux-kernel@...r.kernel.org, youling 257 <youling257@...il.com>
Subject: Re: Problem with "driver core: platform: Add an error message to platform_get_irq*()" commit
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.
Powered by blists - more mailing lists