summaryrefslogtreecommitdiff
path: root/drivers/block/drbd
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2021-01-26 23:04:33 +0300
committerJens Axboe <axboe@kernel.dk>2021-01-26 23:09:39 +0300
commit2126979183148a1bbe8aebe67079856c15ae1763 (patch)
treef0b343e8ee144e937baeb805b20e3c26faec3e4d /drivers/block/drbd
parent416c05477772c147190d6b2371254510c81a4a04 (diff)
downloadlinux-2126979183148a1bbe8aebe67079856c15ae1763.tar.xz
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 8c0d3a02c130 ("PCI: Add accessors for PCI Express Capability"). Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/drbd')
0 files changed, 0 insertions, 0 deletions