]> git.baikalelectronics.ru Git - kernel.git/commit
usb-gadget/f_midi: use per-attribute show and store methods
authorChristoph Hellwig <hch@lst.de>
Sat, 3 Oct 2015 13:32:44 +0000 (15:32 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 14 Oct 2015 05:14:40 +0000 (22:14 -0700)
commitc12413be38ddb4a247511fc328ae62b8773cbee9
tree080866d14b56ee8a3e1dff7b3c66c37537780075
parent058cc66f658328929090b4ffb896227e8c76357c
usb-gadget/f_midi: 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_midi.c