diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2021-01-26 23:04:33 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-26 23:09:39 +0300 |
commit | 2126979183148a1bbe8aebe67079856c15ae1763 (patch) | |
tree | f0b343e8ee144e937baeb805b20e3c26faec3e4d /drivers/dma/plx_dma.c | |
parent | 416c05477772c147190d6b2371254510c81a4a04 (diff) | |
download | linux-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/dma/plx_dma.c')
0 files changed, 0 insertions, 0 deletions