diff options
author | 2022-04-19 15:18:39 +0100 | |
---|---|---|
committer | 2022-04-19 15:22:25 +0100 | |
commit | 36b78aae4bfee749bbde73be570796bfd0f56bec (patch) | |
tree | b0ac848a61ecfce3fa578d4e63c8c7ba3c152a9b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: Expose the gpiochip_irq_re[ql]res helpers (diff) | |
download | linux-dev-36b78aae4bfee749bbde73be570796bfd0f56bec.tar.xz linux-dev-36b78aae4bfee749bbde73be570796bfd0f56bec.zip |
gpio: Add helpers to ease the transition towards immutable irq_chip
Add a couple of new helpers to make it slightly simpler to convert
drivers to immutable irq_chip structures:
- GPIOCHIP_IRQ_RESOURCE_HELPERS populates the irq_chip structure
with the resource management callbacks
- gpio_irq_chip_set_chip() populates the gpio_irq_chip.chip
structure, avoiding the proliferation of ugly casts
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220419141846.598305-4-maz@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions