diff options
author | Peng Fan <peng.fan@nxp.com> | 2019-12-18 12:43:56 +0000 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-01-07 09:55:33 +0100 |
commit | f314f20b70356d9bb2bf1c854fae49922b626f6b (patch) | |
tree | eb00290b42cb2c75c632c223b106c7ce889612a7 /drivers/pinctrl/qcom | |
parent | 4b4e41f35cc700e328e693f0c18b24424ab47ff0 (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