USB: serial: cypress_m8: clean up initial-termios handling
authorJohan Hovold <johan@kernel.org>
Sun, 21 Apr 2019 12:21:50 +0000 (14:21 +0200)
committerJohan Hovold <johan@kernel.org>
Fri, 26 Apr 2019 06:37:59 +0000 (08:37 +0200)
commit2e75232b1922dbc7e57d5170b9d9f44b05a84fac
treecf3f3f0f16ae28680a35a6c61ccd5b9dc761397c
parent817c0cfc903117d65b309ce8dec4987e6b9d004b
USB: serial: cypress_m8: clean up initial-termios handling

Now that init_termios() is only called on first use, we can clean up the
cypress_m8 initial-termios handling.

Note that only the earthmate chip type used settings different from the
defaults provided by USB serial core, and that the chip type is indeed
known when init_termios is called at tty-install time.

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