diff options
author | Peng Fan <peng.fan@nxp.com> | 2019-12-18 15:43:56 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-01-07 11:55:33 +0300 |
commit | f314f20b70356d9bb2bf1c854fae49922b626f6b (patch) | |
tree | eb00290b42cb2c75c632c223b106c7ce889612a7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4b4e41f35cc700e328e693f0c18b24424ab47ff0 (diff) | |
download | linux-f314f20b70356d9bb2bf1c854fae49922b626f6b.tar.xz |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions