diff options
author | Jiri Slaby <jslaby@suse.cz> | 2021-06-18 09:14:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-18 14:10:01 +0300 |
commit | edb7d27cd10382b6fdb3af50873a04f108c4ee64 (patch) | |
tree | 8b409e677f05585a763a2174c952107c7cf102cf /drivers/tty/hvc | |
parent | 238d117d17516f92f5db958809ddec30731e9342 (diff) | |
download | linux-edb7d27cd10382b6fdb3af50873a04f108c4ee64.tar.xz |
mxser: dedup mxser_must_set_enhance_mode
There are multiple copies of setting the EFR register. Separate it to a
new universal function called __mxser_must_set_EFR. And use it in the
code by introducing mxser_must_set_enhance_mode instead of
mxser_disable_must_enchance_mode and mxser_enable_must_enchance_mode.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210618061516.662-41-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/hvc')
0 files changed, 0 insertions, 0 deletions