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