usb: gadget: udc: add a 'function' sysfs file
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 7 Jun 2017 11:07:01 +0000 (14:07 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 13 Jun 2017 10:21:04 +0000 (13:21 +0300)
commit104165686ea388ddec6ec2834bf2c13873fbe91a
tree376b8558c45f55d0e367780f96068cef02331721
parent06644aafb042a20802504d3447bfb0b64985e15d
usb: gadget: udc: add a 'function' sysfs file

This file will print out the name of the currently running USB Gadget
Driver. It can be read even when there are no functions loaded.

Suggested-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Documentation/ABI/stable/sysfs-class-udc
drivers/usb/gadget/udc/core.c