]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: composite: add usb_remove_function()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Sun, 23 Dec 2012 20:10:05 +0000 (21:10 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 21 Jan 2013 18:52:42 +0000 (20:52 +0200)
commitf8def1b08d20f268b780a9e7649083786d7bdf4b
treea3ba2d88a72fa7719fac1afc7a13ce886084af3a
parentdc9bc6a11b6a110945206a45b0aec3c4f9226ef1
usb: gadget: composite: add usb_remove_function()

This will be used to remove a single function from a given config. Right
now "ignore" that an error at ->bind() time and cleanup later during
composite_unbind() / remove_config().

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/composite.c
include/linux/usb/composite.h