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)
commitb473577854fea63055ff9ab84f0f52a3e8aed15e
treea3ba2d88a72fa7719fac1afc7a13ce886084af3a
parent3249ca22c088c286d6227d8fae9c85a43a8ce9f6
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