xhci: xhci-ring: use port structures for port event handler
authorMathias Nyman <mathias.nyman@linux.intel.com>
Mon, 21 May 2018 13:39:57 +0000 (16:39 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 May 2018 16:03:08 +0000 (18:03 +0200)
commit52c7755ba19ee2ae97fe5bfea7627bb27d5d7602
tree5a991c939dbe94a880f8216384b415eea1d5ce27
parentfdcf74ffef640fd30402863877d442c8bada7582
xhci: xhci-ring: use port structures for port event handler

use port structures in the port event handler.
Getting the right hcd and hcd portnumber from the hardware port number
is a lot easier with port structures, and allows us to remove a lot
of the previous code, including the find_faked_portnum_from_hw_index()
function

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