misc: rtsx: Simplify rtsx_comm_set_aspm()
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 21 May 2020 18:05:44 +0000 (13:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 May 2020 07:38:13 +0000 (09:38 +0200)
commit05ffe36a092935bf50d573842ce62c9ad9893005
tree54ebf48a5bc93e783d02eb148d4bef2c9c6f89ab
parent3d1e7aa80d1c0e7ce8313f21c1e9c14a12d3ba48
misc: rtsx: Simplify rtsx_comm_set_aspm()

Simplify rtsx_comm_set_aspm() and remove the now-unused
rtsx_pci_enable_aspm().

rtsx_pci_disable_aspm() is still used by rtsx_pci_init_hw().

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20200521180545.1159896-6-helgaas@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/cardreader/rtsx_pcr.c