diff options
author | Philipp Stanner <pstanner@redhat.com> | 2024-11-11 12:09:45 +0300 |
---|---|---|
committer | Uwe Kleine-König <ukleinek@kernel.org> | 2024-12-18 13:12:05 +0300 |
commit | 10435e0d2377e5fc0353ba9948aa47b9c029ca7b (patch) | |
tree | 2d9e20844246bf2594b4cdd42814683003c12d16 /drivers/pwm/pwm-stm32-lp.c | |
parent | edc19bd0e571c732cd01c8da62f904e6d2a29a48 (diff) | |
download | linux-10435e0d2377e5fc0353ba9948aa47b9c029ca7b.tar.xz |
pwm: Replace deprecated PCI functions
pcim_iomap_table() and pcim_request_regions() have been deprecated in
commit e354bb84a4c1 ("PCI: Deprecate pcim_iomap_table(),
pcim_iomap_regions_request_all()") and commit d140f80f60358 ("PCI:
Deprecate pcim_iomap_regions() in favor of pcim_iomap_region()").
Replace these functions with pcim_iomap_region().
Additionally, pass the actual driver names to pcim_iomap_region()
instead of the previous pci_name(), since the 'name' parameter should
always reflect which driver owns a region.
Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Link: https://lore.kernel.org/r/20241111090944.11293-2-pstanner@redhat.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'drivers/pwm/pwm-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions