diff options
author | Jiri Slaby <jslaby@suse.cz> | 2022-06-07 12:49:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-10 13:37:01 +0200 |
commit | f827c754f9b6247f4d4f9cbb508b22bff2cf8e6d (patch) | |
tree | 6127ee183f14641522e6ead8a33756b31b194f7c /drivers/accessibility/braille/braille_console.c | |
parent | tty/vt: consolemap: remove extern from function decls (diff) | |
download | linux-dev-f827c754f9b6247f4d4f9cbb508b22bff2cf8e6d.tar.xz linux-dev-f827c754f9b6247f4d4f9cbb508b22bff2cf8e6d.zip |
tty/vt: consolemap: convert macros to static inlines
This commit changes !CONFIG_CONSOLE_TRANSLATIONS definitions to real
(inline) functions. So the commit:
* makes type checking much stronger,
* removes the need of many parentheses and casts, and
* makes the code more readable.
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220607104946.18710-6-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/accessibility/braille/braille_console.c')
0 files changed, 0 insertions, 0 deletions