commit | 43a9e710cbed16e1e811713b5ccae5293471287e | [log] [tgz] |
---|---|---|
author | Martin Hundebøll <martin@geanix.com> | Wed Jul 10 21:26:55 2019 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 04 12:43:43 2019 +0200 |
tree | 18acd7674378d6f87973fa5721bf2e3490eb40b0 | |
parent | a64d19aa0ef62c7238e45d3f1cac90dd1915e560 [diff] |
tty: n_gsm: add helpers to convert mux-num to/from tty-base Make it obvious how the gsm mux number relates to the virtual tty lines by using helper functions instead of shifting 6 bits. Signed-off-by: Martin Hundebøll <martin@geanix.com> Link: https://lore.kernel.org/r/20190710192656.60381-3-martin@geanix.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>