[PATCH v2 0/4] skd/mtip32xx: Prefer pcie_capability_read_word()

From: Frederick Lawler
Date: Sun Nov 17 2019 - 19:21:10 EST


Hi,

These changes are in reference to Bjorn's suggestions here:
https://lore.kernel.org/lkml/CAErSpo6BmWDxi3Vckm03=fZHEUosTgkMUjqCvYRA186jv8XbFw@xxxxxxxxxxxxxx/
https://lore.kernel.org/lkml/CAErSpo5TZC3iM09SB1td+F7b-+aiu9EHwPYa1ayiU-i1tseV5w@xxxxxxxxxxxxxx/

And the patches are rebased ontop of 54ecb8f7028c ("Linux 5.4-rc1")

Changes since v1:
* Replace magic numbers constants

This is a long time coming, apologies for dragging my feet on getting
these trivial patches out.

Frederick Lawler (4):
skd: Prefer pcie_capability_read_word()
skd: Replace magic numbers with PCI constants
mtip32xx: Prefer pcie_capability_read_word()
mtip32xx: Replace magic numbers with PCI constants

drivers/block/mtip32xx/mtip32xx.c | 28 ++++++++++++----------------
drivers/block/skd_main.c | 14 ++++++--------
2 files changed, 18 insertions(+), 24 deletions(-)

--
2.20.1