diff options
author | William Breathitt Gray <wbg@kernel.org> | 2024-11-01 10:15:08 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-11-04 11:15:38 +0300 |
commit | aeca17561dc32fcf8c105e2d6207fdf3356c7c94 (patch) | |
tree | e0bffbf9a377c26bc8656b187e05159b367a71a7 /tools/perf/scripts/python/gecko.py | |
parent | dae01ec714fbbf3a71947668cb61cee4cc320647 (diff) | |
download | linux-aeca17561dc32fcf8c105e2d6207fdf3356c7c94.tar.xz |
gpio: pci-idio-16: Replace deprecated PCI functions
pcim_iomap_regions() and pcim_iomap_table() have been deprecated in
commit e354bb84a4c1 ("PCI: Deprecate pcim_iomap_table(),
pcim_iomap_regions_request_all()"). Replace these functions with
pcim_iomap_region().
In order to match the rest of the code in idio_16_probe(), utilize
dev_err_probe() to handle error for pcim_enable_device().
Signed-off-by: William Breathitt Gray <wbg@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20241101-pci_iomap_region_gpio_acces-v1-1-26eb1dc93e45@kernel.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions