]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
scsi: csiostor: Prefer pcie_capability_read_word()
authorFrederick Lawler <fred@fredlawl.com>
Thu, 18 Jul 2019 02:07:43 +0000 (21:07 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2019 02:03:42 +0000 (22:03 -0400)
commit3e76ca9561ce6bd245793edebd36e718bff89d3e
tree5707bc36e09f88da6ca0dc43732d920d6d44a4c6
parent1d4f4a5e507f5879af56370380df600dd9119030
scsi: csiostor: Prefer pcie_capability_read_word()

Commit 8c0d3a02c130 ("PCI: Add accessors for PCI Express Capability") added
accessors for the PCI Express Capability so that drivers didn't need to be
aware of differences between v1 and v2 of the PCI Express Capability.

Replace pci_read_config_word() and pci_write_config_word() calls with
pcie_capability_read_word() and pcie_capability_write_word().

Signed-off-by: Frederick Lawler <fred@fredlawl.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/csiostor/csio_wr.c