[PATCH 0/5] minor rtsx cleanups
From: Bjorn Helgaas
Date: Tue Jul 21 2020 - 17:23:51 EST
From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
Clean up some needlessly device-specific stuff in the Realtek card reader
drivers.
This implements some of my suggestions from
20200720220651.GA1035857@bjorn-Precision-5520">https://lore.kernel.org/r/20200720220651.GA1035857@bjorn-Precision-5520
This will conflict with Ricky's post here:
https://lore.kernel.org/r/20200706070259.32565-1-ricky_wu@xxxxxxxxxxx
I'll be happy to update this on top of Ricky's patch after it's applied, or
Ricky could pick up these patches and base his on top.
Bjorn Helgaas (5):
misc: rtsx: Use pcie_capability_clear_and_set_word() for
PCI_EXP_LNKCTL
misc: rtsx: Remove unused pcie_cap
misc: rtsx: Remove rtsx_pci_read/write_config() wrappers
misc: rtsx: Find L1 PM Substates capability instead of hard-coding
misc: rtsx: Use standard PCI definitions
drivers/misc/cardreader/rtl8411.c | 8 +++++---
drivers/misc/cardreader/rts5209.c | 5 +++--
drivers/misc/cardreader/rts5227.c | 5 +++--
drivers/misc/cardreader/rts5229.c | 5 +++--
drivers/misc/cardreader/rts5249.c | 28 ++++++++++++++------------
drivers/misc/cardreader/rts5260.c | 23 +++++++++++++--------
drivers/misc/cardreader/rts5261.c | 32 +++++++++++++++++++-----------
drivers/misc/cardreader/rtsx_pcr.c | 7 ++++---
include/linux/rtsx_pci.h | 22 --------------------
9 files changed, 68 insertions(+), 67 deletions(-)
--
2.25.1