Re: [PATCH v3] driver core: platform: Add an error message to platform_get_irq*()
From: Rafael J. Wysocki
Date: Thu Jan 03 2019 - 12:39:11 EST
On Thu, Jan 3, 2019 at 6:25 PM Stephen Boyd <swboyd@xxxxxxxxxxxx> wrote:
> 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?
This can help to reduce code duplication a bit, so
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
for the v3.