]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
USB: serial: refactor and clean up endpoint handling
authorJohan Hovold <johan@kernel.org>
Thu, 21 Aug 2014 17:33:25 +0000 (19:33 +0200)
committerJohan Hovold <johan@kernel.org>
Thu, 16 Mar 2017 09:33:09 +0000 (10:33 +0100)
commit1546e6aecb2490c4510bcd953cbb522d85957791
tree2091c600df7bcded6a5b97049ff32921f3e904f9
parentef88f33fc1ee0a12a1e5eee7e4f70b7743100a19
USB: serial: refactor and clean up endpoint handling

Refactor and clean up endpoint handling.

This specifically moves the endpoint-descriptor arrays of the stack.

Note that an err_free_epds label is not yet added to avoid a compilation
warning when neither CONFIG_USB_SERIAL_PL2303 or
CONFIG_USB_SERIAL_GENERIC is selected.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/usb-serial.c