From: Roger Quadros Date: Fri, 29 May 2015 14:01:46 +0000 (+0300) Subject: usb: xhci: cleanup xhci_hcd allocation X-Git-Tag: omap-for-v4.2/fixes-rc1^2~90^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd33a32157e42483ffea31e32b1cee4f11ff9592;p=pandora-kernel.git usb: xhci: cleanup xhci_hcd allocation HCD core allocates memory for HCD private data in usb_create_[shared_]hcd() so make use of that mechanism to allocate the struct xhci_hcd. Introduce struct xhci_driver_overrides to provide the size of HCD private data and hc_driver operation overrides. As of now we only need to override the reset and start methods. Signed-off-by: Roger Quadros Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed