diff options
author | 2025-02-07 18:23:01 +0200 | |
---|---|---|
committer | 2025-02-14 14:39:31 -0600 | |
commit | addb30c5bd2755770e617e68bdcc0bf2a21770fa (patch) | |
tree | 886a6fd3e893df987b48bba52f09cf2d376a97c3 /drivers/pci/setup-bus.c | |
parent | Linux 6.14-rc1 (diff) | |
download | wireguard-linux-addb30c5bd2755770e617e68bdcc0bf2a21770fa.tar.xz wireguard-linux-addb30c5bd2755770e617e68bdcc0bf2a21770fa.zip |
PCI: Cleanup dev->resource + resno to use pci_resource_n()
Replace pointer arithmetic in finding the correct resource entry with the
pci_resource_n() helper.
Link: https://lore.kernel.org/r/20250207162301.2842-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/setup-bus.c')
0 files changed, 0 insertions, 0 deletions