linux-stable/drivers/block/mtip32xx
Bjorn Helgaas 2126979183 mtip32xx: prefer pcie_capability_read_word()
Replace pci_read_config_word() with pcie_capability_read_word().

pcie_capability_read_word() takes care of a few special cases when reading
the PCIe capability.  See 8c0d3a02c1 ("PCI: Add accessors for PCI Express
Capability").

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-01-26 13:09:39 -07:00
..
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mtip32xx.c mtip32xx: prefer pcie_capability_read_word() 2021-01-26 13:09:39 -07:00
mtip32xx.h mtip32xx: remove the call to fsync_bdev on removal 2020-12-01 14:53:38 -07:00