xhci: dbc: Pass dbc pointer to endpoint init and exit functions.
authorMathias Nyman <mathias.nyman@linux.intel.com>
Thu, 23 Jul 2020 14:45:15 +0000 (17:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2020 15:05:27 +0000 (17:05 +0200)
commitd3249fa9177f7f425ac4a48b0c8caf28f77b9d52
tree5c337a11a12f8c3d61d35701860c4bde216b2ba7
parented7bffee0216b7ffeecfd5736b167118c8ddd2de
xhci: dbc: Pass dbc pointer to endpoint init and exit functions.

struct xhci_hcd pointer is not needed for dbc endpoint init and exit,
it was only used to get to the dbc structure.
Pass the dbc pointer as a parameter to these functions instead.

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-13-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-dbgcap.c