mxser: cleanup mxser_change_speed
authorJiri Slaby <jslaby@suse.cz>
Fri, 18 Jun 2021 06:14:43 +0000 (08:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jun 2021 11:10:01 +0000 (13:10 +0200)
commit2c21832b55dd6f2c5be48133997b6614c1e6327b
treea1dd6b2c79e5cfc8f67b9a2b79d6af1d631ad0a2
parentd811b26ba3a78d45ccfc8e562323d9104d321c87
mxser: cleanup mxser_change_speed

* use UART macros instead of magic constants
* let the default case reuse already existing code (CS5 case)

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210618061516.662-38-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/mxser.c