usb-gadget/f_loopback: use per-attribute show and store methods
authorChristoph Hellwig <hch@lst.de>
Sat, 3 Oct 2015 13:32:43 +0000 (15:32 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 14 Oct 2015 05:14:30 +0000 (22:14 -0700)
commit75ab2256a7d05128f8aa088cdde961d8029bcd55
tree5b7416ae6c1ff455225fffbba7f5208e5c3e0797
parentf9a63da33d3f86acadc14c5cb66e9ad06860892f
usb-gadget/f_loopback: 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>
drivers/usb/gadget/function/f_loopback.c