serial: rp2: Replace deprecated PCI functions
authorPhilipp Stanner <pstanner@redhat.com>
Wed, 30 Oct 2024 11:27:41 +0000 (12:27 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 30 Oct 2024 21:07:38 +0000 (16:07 -0500)
commit55285d8fa2a17c25ae5f4b76df26f2823631baae
tree2b2a9e5f6b7892aef68c2bfcc73af897f41baac1
parent5915997a8eb4b8a8e8aa3b0fe6cb85265822c2ba
serial: rp2: Replace deprecated PCI functions

pcim_iomap_table() and pcim_iomap_regions_request_all() have been
deprecated by the PCI subsystem in commit e354bb84a4c1 ("PCI: Deprecate
pcim_iomap_table(), pcim_iomap_regions_request_all()").

Replace these functions with their successors, pcim_iomap() and
pcim_request_all_regions().

Link: https://lore.kernel.org/r/20241030112743.104395-9-pstanner@redhat.com
Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
drivers/tty/serial/rp2.c