diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-04-01 13:35:59 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-04-08 18:41:04 +0300 |
commit | 0173ce55e50800a1a59dddcb972fe459cff0fee4 (patch) | |
tree | 87f10f2b3c65ee0465dae1e22c1a89ac5dbe3dab /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5e455dd93397b3cad0b6767654d29919d28d3a89 (diff) |
pinctrl: npcm7xx: Switch to use for_each_gpiochip_node() helper
Switch the code to use for_each_gpiochip_node() helper.
While at it, in order to avoid additional churn in the future,
do the following:
- use a temporary variable for struct device pointer to shorten a few lines
- get rid of a temporary variable for vIRQ number, assign it directly
- switch to fwnode APIs where it makes sense
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions