Re: [PATCH V6 3/9] usb: move children to struct usb_port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 4 Jul 2012, Lan Tianyu wrote:

> Change since v5: rename usb_hub_get_child() to usb_hub_find_child().
> rename usb_hub_get_each_child() to usb_hub_for_each_child().
> 
> Change since v4: remove usb_get_dev() in the usb_hub_get_child().
> rename usb_get_hub_xxx() to usb_hub_get_xxx(). Add hdev->maxchild check
> in the hdev_to_hub().
> 
> Move child's pointer to the struct usb_port since the child device
> is directly associated with the port. Provide usb_hub_get_child()
> to get child's pointer and macrio macro usb_hub_get_each_child to
> iterate all child devices on the hub.
> 
> Signed-off-by: Lan Tianyu <tianyu.lan@xxxxxxxxx>

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux