usb: gadget: u_ether: use better list accessors
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 22 Mar 2017 11:24:34 +0000 (13:24 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 11 Apr 2017 07:58:20 +0000 (10:58 +0300)
commitfea14e68ff5e110c21f57278883c8cc4637c3f92
treecc4a77923aa98f7e6b3588dcdcb07ad654b6fcab
parentaad7c25964955ccf097712d596ef00a3e187341e
usb: gadget: u_ether: use better list accessors

We have helpers for some of these, let's rely on them instead of open
coding what they do in u_ether.c

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/function/u_ether.c