usb: move struct usb_device->children to struct usb_hub_port->child
authorLan Tianyu <tianyu.lan@intel.com>
Fri, 11 May 2012 08:08:30 +0000 (16:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 May 2012 00:08:41 +0000 (17:08 -0700)
Move child's pointer to the struct usb_hub_port since the child device
is directly associated with the port. Provide usb_get_hub_child_device()
to get child's pointer.

Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found