commit | 05d08d0743fba090db3641a4af4b79e381315b12 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Wed Jul 19 21:51:09 2017 +0800 |
committer | Marek Vasut <marex@denx.de> | Fri Jul 28 23:34:29 2017 +0200 |
tree | ec6c915579a27f37ba35088f107dde21f98de735 | |
parent | aff38b92e077cd8e1b20eed904941a084622256a [diff] |
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 <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>