diff options
author | Peng Fan <peng.fan@nxp.com> | 2019-12-18 15:43:53 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-01-23 18:06:11 +0300 |
commit | 06e26b75f5e613b400116fdb7ff6206a681ab271 (patch) | |
tree | 2a52ce60a74b8be429a02ebf553a5c2ec4b62132 /.mailmap | |
parent | 72780ce5f1a4189f3c8dcfb1c596c65146452668 (diff) | |
download | linux-06e26b75f5e613b400116fdb7ff6206a681ab271.tar.xz |
pinctrl: mvebu: armada-37xx: use use platform api
platform_irq_count() and platform_get_irq() 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-1-git-send-email-peng.fan@nxp.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions