Re: [PATCH v2 1/9] usb: xhci: cleanup xhci_hcd allocation

2015-06-08 Thread Greg KH
On Mon, Jun 01, 2015 at 10:39:57AM +0300, Mathias Nyman wrote: > From: Roger Quadros > > 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

[PATCH v2 1/9] usb: xhci: cleanup xhci_hcd allocation

2015-06-01 Thread Mathias Nyman
From: Roger Quadros 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