usb-gadget/ether: use per-attribute show and store methods
To simplify the configfs interface and remove boilerplate code that also causes binary bloat. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Andrzej Pietrasiewicz <andrzej.p@samsung.com> Acked-by:
Felipe Balbi <balbi@ti.com> Signed-off-by:
Nicholas Bellinger <nab@linux-iscsi.org>
Showing
- drivers/usb/gadget/function/f_ecm.c 4 additions, 4 deletionsdrivers/usb/gadget/function/f_ecm.c
- drivers/usb/gadget/function/f_eem.c 4 additions, 4 deletionsdrivers/usb/gadget/function/f_eem.c
- drivers/usb/gadget/function/f_ncm.c 4 additions, 4 deletionsdrivers/usb/gadget/function/f_ncm.c
- drivers/usb/gadget/function/f_rndis.c 4 additions, 4 deletionsdrivers/usb/gadget/function/f_rndis.c
- drivers/usb/gadget/function/f_subset.c 4 additions, 4 deletionsdrivers/usb/gadget/function/f_subset.c
- drivers/usb/gadget/function/u_ether_configfs.h 18 additions, 26 deletionsdrivers/usb/gadget/function/u_ether_configfs.h
Loading
Please register or sign in to comment