aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-wcd934x.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2020-01-28 22:08:45 +0100
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-02-10 10:50:58 +0100
commita630fe34ddc09ec9b82df4867a8680d0929fe926 (patch)
tree0c7fc55e3220f7e07488d6a0611be869f384e47e /drivers/gpio/gpio-wcd934x.c
parentLinux 5.6-rc1 (diff)
downloadlinux-dev-a630fe34ddc09ec9b82df4867a8680d0929fe926.tar.xz
linux-dev-a630fe34ddc09ec9b82df4867a8680d0929fe926.zip
gpio: pxa: Avoid a warning when gpio0 and gpio1 IRQS are not there
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@v3.sk> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio/gpio-wcd934x.c')
0 files changed, 0 insertions, 0 deletions