]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: g_serial: split the three possible functions into three bind functions
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Sun, 23 Dec 2012 20:10:03 +0000 (21:10 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 21 Jan 2013 18:52:41 +0000 (20:52 +0200)
commit15f237fb1741d52af7a272d1aac4313505596d69
tree6a83a8f6d686ab690e97ff2510ee0e2b579994ff
parentc302d88bd174da62e65f4720b86c302f4fbb42ca
usb: gadget: g_serial: split the three possible functions into three bind functions

This patch factors out the three possible functions into three possible
bind functions which are passed as an argument to usb_add_config(). This
will ease the step by step converting of the individual functions to the
new function registration method.

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