summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <william.gray@linaro.org>2022-12-27 15:09:42 +0100
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-01-30 15:55:28 +0100
commit59e2131accfd1f4964c766fabdcd19419f1c551b (patch)
tree9981518fbf24aa6dcf8b36e1fa88b14aefc5f910 /drivers/irqchip
parentgpio: 104-idi-48: Migrate to the regmap-irq API (diff)
downloadlinux-59e2131accfd1f4964c766fabdcd19419f1c551b.tar.xz
linux-59e2131accfd1f4964c766fabdcd19419f1c551b.zip
gpio: 104-idi-48: Migrate to gpio-regmap API
The regmap API supports IO port accessors so we can take advantage of regmap abstractions rather than handling access to the device registers directly in the driver. Despite the underlying interface being based on i8255, it is simpler to use the gpio-regmap API directly because the 104-IDI-48 device features only input signals. Therefore, the dependence on the i8255 GPIO library is removed in this patch. Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: William Breathitt Gray <william.gray@linaro.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/irqchip')
0 files changed, 0 insertions, 0 deletions