OSDN Git Service

usb: gadget: push tty port allocation from gadget into f_acm
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Sun, 23 Dec 2012 20:10:18 +0000 (21:10 +0100)
committerFelipe Balbi <balbi@ti.com>
Wed, 3 Apr 2013 11:43:31 +0000 (14:43 +0300)
commitc4ed4ac198495895fd1620cba15184c3b2d399dc
tree4b6d1601559aed0d29f8348c7460828d1ec27d85
parentd6a0143985489e470a118605352f4b18df0ce142
usb: gadget: push tty port allocation from gadget into f_acm

It possible to allocate the tty port number within the "instance"
structure of the function and there is no need to expose this
information within the gadget and therefore it is removed here.
This patch converts only f_acm and all its users. The other gadgets will
follow once the function is converted to the function interface.

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