summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/qcom
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2019-12-18 12:43:56 +0000
committerLinus Walleij <linus.walleij@linaro.org>2020-01-07 09:55:33 +0100
commitf314f20b70356d9bb2bf1c854fae49922b626f6b (patch)
treeeb00290b42cb2c75c632c223b106c7ce889612a7 /drivers/pinctrl/qcom
parent4b4e41f35cc700e328e693f0c18b24424ab47ff0 (diff)
pinctrl: sunxi: sun50i-h5 use platform_irq_count
platform_irq_count() is the more generic way (independent of device trees) to determine the count of available interrupts. So use this instead. As platform_irq_count() might return an error code (which of_irq_count doesn't) some additional handling is necessary. Signed-off-by: Peng Fan <peng.fan@nxp.com> Link: https://lore.kernel.org/r/1576672860-14420-2-git-send-email-peng.fan@nxp.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/qcom')
0 files changed, 0 insertions, 0 deletions