]> git.baikalelectronics.ru Git - kernel.git/commit
usb-gadget/f_serial: use per-attribute show and store methods
authorChristoph Hellwig <hch@lst.de>
Sat, 3 Oct 2015 13:32:52 +0000 (15:32 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 14 Oct 2015 05:16:10 +0000 (22:16 -0700)
commitb92a1d3ded046a2b7fa7fddfc2fc8e9eba144d4d
treeb3b3acc0cf48cb5ee1b9a42cafceefa34786f322
parent02b6ce96898df19069f499cbda53f81fbe7503ab
usb-gadget/f_serial: 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_serial.c