usb: isp1760: Decouple usb_hdc and isp1760_priv
commitcdd36e872c55603af60a9dc1f9e4b3de31ffc21a
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 20 Jan 2015 22:55:54 +0000 (21 00:55 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 27 Jan 2015 15:39:03 +0000 (27 09:39 -0600)
tree018dd64514f3e0a2b100dc4e72d74b8b234f70f9
parentc770e00122a939f4ec9eeb663b6be6a131065926
usb: isp1760: Decouple usb_hdc and isp1760_priv

Allocate the driver private data structure manually instead of using the
usb_hcd private space. This will allow skipping hcd registration for the
isp1761 when used in device mode only.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/host/isp1760-hcd.c