]> git.baikalelectronics.ru Git - kernel.git/commit
usb-gadget/uvc: use per-attribute show and store methods
authorChristoph Hellwig <hch@lst.de>
Sat, 3 Oct 2015 13:32:39 +0000 (15:32 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 14 Oct 2015 05:13:44 +0000 (22:13 -0700)
commit9b72e968e917dcdd7201e5a0ee91dfd749426c21
treeb04b07864029a42e3e4844083de0c0e3ccbaa7d0
parent460e8daab3c227d5458c87fd0f2d1b906fde07ad
usb-gadget/uvc: use per-attribute show and store methods

UVC is a little different from other configfs consumers in that it wants
different function and field names from the exposed attribute name, so
it keeps it's local macros to define attributes instead of using the common
ones.

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/uvc_configfs.c