Commit 8aaf1c6f authored by Vinod Koul's avatar Vinod Koul
Browse files

usb: hci: add hc_driver as argument for usb_hcd_pci_probe



usb_hcd_pci_probe expects users to call this with driver_data set as
hc_driver, that limits the possibility of using the driver_data for
driver data.

Add hc_driver as argument to usb_hcd_pci_probe and modify the callers
ehci/ohci/xhci/uhci to pass hc_driver as argument and freeup the
driver_data used

Tested xhci driver on Dragon-board RB3, compile tested ehci, ohci and
uhci.

Suggested-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
[For all but the xHCI parts]
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
[For the xhci part]
Acked-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 8f3d9f35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment