]> 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)
commit574fbd12cc7f161ded36d766cc3c6b1a1dc86797
treeb04b07864029a42e3e4844083de0c0e3ccbaa7d0
parentb69a039eaebe461e3230d15d3c5ce315039fb1e1
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