Skip to content
Snippets Groups Projects
Commit dfa96e06 authored by Bin Meng's avatar Bin Meng Committed by Marek Vasut
Browse files

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: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 5e941943
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment