Re: [PATCH] gpio: pxa: Avoid a warning when gpio0 and gpio1 IRQS are not there

From: Robert Jarzmik
Date: Wed Feb 05 2020 - 12:57:19 EST


Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx> writes:

> wt., 28 sty 2020 o 22:08 Lubomir Rintel <lkundrak@xxxxx> napisaÅ(a):
>>
>> Not all platforms use those. Let's use
>> platform_get_irq_byname_optional() instead platform_get_irq_byname() so
>> that we avoid a useless warning:
>>
>> [ 1.359455] pxa-gpio d4019000.gpio: IRQ gpio0 not found
>> [ 1.359583] pxa-gpio d4019000.gpio: IRQ gpio1 not found
>>
>> Signed-off-by: Lubomir Rintel <lkundrak@xxxxx>
Okay, what would have really be nice in the commit message was to state _which_
platform doesn't use these, and still use pxa-gpio as their gpio driver.

Cheers.

--
Robert

PS: And yes, my response is late, but I'm moving house so my ping is huge
lately.