mxser: clean up the rest of MUST helpers
authorJiri Slaby <jslaby@suse.cz>
Fri, 18 Jun 2021 06:14:48 +0000 (08:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jun 2021 11:10:01 +0000 (13:10 +0200)
commitb441eb0f69d19cddf2018ded38a5f3ea7e392836
tree4a9dfa5882a758fc307ffa978043a7ec6907cdab
parentb286484b3bb1d01dfd6095f01c8ad04b78f1a625
mxser: clean up the rest of MUST helpers

Clean up the rest of MUST helpers. They all can use the newly added
mxser_must_set_EFR. And passing a bool instead of having two functions
(_enable+_disable) simplifies the code a lot too.

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