]> Git Repo - J-u-boot.git/commit
usb: hub: Use 'struct usb_hub_device' as hub device's uclass_priv
authorBin Meng <[email protected]>
Wed, 19 Jul 2017 13:51:09 +0000 (21:51 +0800)
committerMarek Vasut <[email protected]>
Fri, 28 Jul 2017 21:34:29 +0000 (23:34 +0200)
commitdfa96e06761e223288e59d7a3e1d574f014b5a0d
treeec6c915579a27f37ba35088f107dde21f98de735
parent5e941943d88aebcfc2e9c8a0801061d39e218bb5
usb: hub: Use 'struct usb_hub_device' as hub device's uclass_priv

Use USB hub device's dev->uclass_priv to point to 'usb_hub_device'
so that with driver model usb_hub_reset() and usb_hub_allocate()
are no longer needed.

Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
common/usb_hub.c
drivers/usb/host/usb-uclass.c
This page took 0.040201 seconds and 4 git commands to generate.