mxser: drop mxser_port::custom_divisor
authorJiri Slaby <jslaby@suse.cz>
Fri, 18 Jun 2021 06:14:42 +0000 (08:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jun 2021 11:10:01 +0000 (13:10 +0200)
commitd811b26ba3a78d45ccfc8e562323d9104d321c87
tree27dbb675175827aacefa6b4f9c021bbba4933fe6
parenta6970c39c311f393c2a2b43733e1b4ce2b241f53
mxser: drop mxser_port::custom_divisor

It's an once-set constant, so define a macro for the constant
(MXSER_CUSTOM_DIVISOR) and use it in the code instead.

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