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

From: Stephen Boyd
Date: Thu Jan 03 2019 - 12:25:24 EST


Quoting Rafael J. Wysocki (2019-01-03 09:22:56)
> On Thu, Jan 3, 2019 at 5:12 PM Stephen Boyd <swboyd@xxxxxxxxxxxx> wrote:
> >
> > I don't see much benefit to seeing -ENXIO or -EINVAL printed here, so I
> > left out the error code.
>
> OK, so the value of the message is to tell the user that some driver
> asked for an invalid IRQ, right?

Yes.