[U-Boot] [PATCH v2 3/3] drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model
Simon Glass
sjg at chromium.org
Sat Dec 17 23:47:55 CET 2016
On 14 December 2016 at 06:32, Mugunthan V N <mugunthanvnm at ti.com> wrote:
> Adopt usb ether gadget and rndis driver to adopt driver model
>
> Signed-off-by: Mugunthan V N <mugunthanvnm at ti.com>
> ---
> drivers/usb/gadget/ether.c | 152 ++++++++++++++++++++++++++++++++++++++++++---
> drivers/usb/gadget/rndis.c | 13 +++-
> drivers/usb/gadget/rndis.h | 19 ++++--
> include/net.h | 8 +++
> 4 files changed, 177 insertions(+), 15 deletions(-)
Do you think you can get rid of l_priv? Is there a way to instead find
the device using uclass_first/next_device()?
- Simon
More information about the U-Boot
mailing list