diff options
author | Jiri Slaby <jslaby@suse.cz> | 2021-06-18 09:15:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-18 14:10:03 +0300 |
commit | 5d1ea1ad288fc9e76acb5ec8af1bc16bb799c14f (patch) | |
tree | b5748e7e19bfa5a643cfc2433d236f3fd06471b1 /drivers/gpio | |
parent | 06cc52ef8284fa8c95552e6ad0da93d89774eb7f (diff) | |
download | linux-5d1ea1ad288fc9e76acb5ec8af1bc16bb799c14f.tar.xz |
mxser: introduce mxser_16550A_or_MUST helper
This check is used in the code on many places. Either in positive or
negative form. So introduce a helper called mxser_16550A_or_MUST for
this purpose. And replace all the occurrences.
This simplifies many ifs in there.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210618061516.662-67-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions