xhci: dbc: Get the device pointer from dbc structure in dbc_ep_do_queue()
authorMathias Nyman <mathias.nyman@linux.intel.com>
Thu, 23 Jul 2020 14:45:14 +0000 (17:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2020 15:05:27 +0000 (17:05 +0200)
commited7bffee0216b7ffeecfd5736b167118c8ddd2de
treeee17d865eb90c523fec13bf90525aac24ac30ea8
parent1da49a26af6cce364f3608b36ccf6612d80eddbc
xhci: dbc: Get the device pointer from dbc structure in dbc_ep_do_queue()

dbc_ep_do_queue() can now get the device pointer directly from dbc
structure instead of going through the xhci_hcd structure.

No functional changes
This change helps decoupling xhci and DbC

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20200723144530.9992-12-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-dbgcap.c