usb: gadget: legacy/serial: allow dynamic removal
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Sat, 10 Aug 2019 08:42:52 +0000 (10:42 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 22 Oct 2019 07:27:15 +0000 (10:27 +0300)
commitbd25a14edb75038f6a177ac566ba2e6d7a2439be
tree079b362a7f5a7a5120025ce39562febc6eae1c60
parentd7cb8fb7aa7dc47d1b751c17c15672068667053c
usb: gadget: legacy/serial: allow dynamic removal

Legacy serial USB gadget is still useful as an early console,
before userspace is up. Later it could be replaced with proper
configfs-configured composite gadget - that use case is enabled
by this patch.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/legacy/serial.c