xhci: use port structures instead of port arrays in xhci.c functions
authorMathias Nyman <mathias.nyman@linux.intel.com>
Mon, 21 May 2018 13:40:01 +0000 (16:40 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 May 2018 16:03:08 +0000 (18:03 +0200)
commit38986ffa6a74899be83126d55f043a1c034cba7d
tree20d7758b1e96cd202133f548475b25ef13303f6c
parenteaefcf246b56ec888ccbbb6b39da688166d4d4fb
xhci: use port structures instead of port arrays in xhci.c functions

get rid of port iomem arrays and use port structures in the following
functions:
xhci_find_raw_port_number()
xhci_disable_port_wake_on_bits()
xhci_set_usb2_hardware_lpm()
xhci_all_ports_seen_u0()
compliance_mode_recovery()

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci.c