]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb-gadget/f_sourcesink: use per-attribute show and store methods
authorChristoph Hellwig <hch@lst.de>
Sat, 3 Oct 2015 13:32:46 +0000 (15:32 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 14 Oct 2015 05:15:03 +0000 (22:15 -0700)
commit208e61ac7c0a2c3e4b23e74a66ddc2ea471d251e
tree97f5c324e77c63b7bdfbd4a9664b82818342be5f
parentaa48a415270f7cf16ec0ef825d19b4f8bd1a875e
usb-gadget/f_sourcesink: 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_sourcesink.c