summaryrefslogtreecommitdiff
path: root/drivers/pci/pci.h
diff options
context:
space:
mode:
authorPhilipp Stanner <pstanner@redhat.com>2024-06-13 13:50:15 +0200
committerKrzysztof Wilczyński <kwilczynski@kernel.org>2024-07-10 04:19:27 +0000
commitd5fe8207d8786142061fb18c8fb671b34649f114 (patch)
tree9f690915d5a36969bda3a08256239b1acc3e6181 /drivers/pci/pci.h
parentdee37e90b41f7b41a63b894ded5b3840a9dddbd7 (diff)
downloadlinux-d5fe8207d8786142061fb18c8fb671b34649f114.tar.gz
linux-d5fe8207d8786142061fb18c8fb671b34649f114.tar.bz2
linux-d5fe8207d8786142061fb18c8fb671b34649f114.zip
PCI: Add devres helpers for iomap table
The pcim_iomap_devres.table administrated by pcim_iomap_table() has its entries set and unset at several places throughout devres.c using manual iterations which are effectively code duplications. Add pcim_add_mapping_to_legacy_table() and pcim_remove_mapping_from_legacy_table() helper functions and use them where possible. Link: https://lore.kernel.org/r/20240613115032.29098-3-pstanner@redhat.com Signed-off-by: Philipp Stanner <pstanner@redhat.com> Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci.h')
0 files changed, 0 insertions, 0 deletions