mbox series

[0/2] mtip32xx: minor PCI cleanups

Message ID 20210126200433.2911982-1-helgaas@kernel.org (mailing list archive)
Headers show
Series mtip32xx: minor PCI cleanups | expand

Message

Bjorn Helgaas Jan. 26, 2021, 8:04 p.m. UTC
From: Bjorn Helgaas <bhelgaas@google.com>

Use PCI #defines and the special accessors for the PCIe capability.

Bjorn Helgaas (2):
  mtip32xx: use PCI #defines instead of numbers
  mtip32xx: prefer pcie_capability_read_word()

 drivers/block/mtip32xx/mtip32xx.c | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

Comments

Jens Axboe Jan. 26, 2021, 8:09 p.m. UTC | #1
On 1/26/21 1:04 PM, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@google.com>
> 
> Use PCI #defines and the special accessors for the PCIe capability.
> 
> Bjorn Helgaas (2):
>   mtip32xx: use PCI #defines instead of numbers
>   mtip32xx: prefer pcie_capability_read_word()
> 
>  drivers/block/mtip32xx/mtip32xx.c | 15 +++++----------
>  1 file changed, 5 insertions(+), 10 deletions(-)

Applied, thanks.