summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/ftdi_sio.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2018-05-16 11:42:07 +0200
committerJohan Hovold <johan@kernel.org>2018-05-17 11:22:00 +0200
commit79ef51894a8dfbd7c4db1d2a820c235b42499e2e (patch)
treebc02dfc74aebf5602bd2b18ee753eec2c376b765 /drivers/usb/serial/ftdi_sio.c
parent4d304a6fe93538ce356b4593dc43476b50c023e7 (diff)
downloadlinux-79ef51894a8dfbd7c4db1d2a820c235b42499e2e.tar.bz2
USB: serial: use tty_port_register_device()
We already have the tty port when probing a usb-serial port so use tty_port_register_device() directly instead of tty_port_install() later to set up the port link. This is a step towards enabling serdev for usb-serial (but we need to determine how to handle hotplugging first). Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.c')
0 files changed, 0 insertions, 0 deletions