Re: [PATCH] driver core: platform: Add an error message to platform_get_irq*()

2018-12-28 Thread Stephen Boyd
Quoting Russell King - ARM Linux (2018-12-22 02:33:20) > On Fri, Dec 21, 2018 at 11:24:52PM -0800, Stephen Boyd wrote: > > A grep of the kernel shows that many drivers print an error message if > > they fail to get the irq they're looking for. Furthermore, those drivers > > all decide to print the

Re: [PATCH] driver core: platform: Add an error message to platform_get_irq*()

2018-12-22 Thread Russell King - ARM Linux
On Fri, Dec 21, 2018 at 11:24:52PM -0800, Stephen Boyd wrote: > A grep of the kernel shows that many drivers print an error message if > they fail to get the irq they're looking for. Furthermore, those drivers > all decide to print the device name, or not, and the irq they were > requesting, or

[PATCH] driver core: platform: Add an error message to platform_get_irq*()

2018-12-22 Thread Stephen Boyd
A grep of the kernel shows that many drivers print an error message if they fail to get the irq they're looking for. Furthermore, those drivers all decide to print the device name, or not, and the irq they were requesting, or not, etc. Let's consolidate all these error messages into the API