drivers: usb: gadget: ether: use net device priv to pass usb ether priv
authorMugunthan V N <mugunthanvnm@ti.com>
Fri, 18 Nov 2016 05:37:18 +0000 (11:07 +0530)
committerSimon Glass <sjg@chromium.org>
Sat, 3 Dec 2016 03:53:20 +0000 (20:53 -0700)
commitae70100c1f92845386526e6cf62fe043a872f396
tree77bc04f065af138417eddcb38dbc2b9d9c778734
parent5cb3b9d7c7cf2ab2bffaeaddef49378b28ccea5d
drivers: usb: gadget: ether: use net device priv to pass usb ether priv

Use net device priv to pass usb ether priv and use it in
net device ops callback.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/usb/gadget/ether.c