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