diff options
| author | Philipp Stanner <[email protected]> | 2024-11-11 09:09:45 +0000 |
|---|---|---|
| committer | Uwe Kleine-König <[email protected]> | 2024-12-18 10:12:05 +0000 |
| commit | 10435e0d2377e5fc0353ba9948aa47b9c029ca7b (patch) | |
| tree | 2d9e20844246bf2594b4cdd42814683003c12d16 /drivers/pwm/pwm-stm32.c | |
| parent | pwm: stm32: Fix complementary output in round_waveform_tohw() (diff) | |
| download | kernel-10435e0d2377e5fc0353ba9948aa47b9c029ca7b.tar.gz kernel-10435e0d2377e5fc0353ba9948aa47b9c029ca7b.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions
