diff options
author | Stephen Boyd <[email protected]> | 2015-11-18 11:33:17 -0800 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2015-12-01 10:00:53 +0100 |
commit | ab4256cfeab91569e1d96e7f0014538fe0845259 (patch) | |
tree | 8cde644f222946809446b9d0156c2861bae1702b /tools/perf/scripts/python/check-perf-trace.py | |
parent | beee39099b9041c8bcb50e771d0cc6aea4e79e45 (diff) |
pinctrl: qcom: pmic-gpio/mpp: of_irq_count() == npins
The number of interrupts is always equal to the number of pins
provided by the PMIC gpio and MPP hardware blocks. Count the
number of irqs to figure out the number of pins instead of adding
more compatible strings or doing math on the reg property. This
should make the code more generic and ease the number of changes
we have to make to the driver for each new pmic revision.
Cc: Ivan T. Ivanov <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Reviewed-by: Andy Gross <[email protected]>
Reviewed-by: Björn Andersson <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions