commit | 6dee84d6bed747653914298a8913e91391a2ce10 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Thu Oct 29 12:32:20 2020 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 04 16:43:38 2020 +0100 |
tree | 60251b547f5e5cc16944b63722fce3e9202e686c | |
parent | cb58a5046095c0b28031f1f412c27ce21df604ae [diff] |
vt: keyboard, make HW_RAW a function Instead of a multiline macro, convert HW_RAW to an inline function. It allows for type checking of the parameter. And given we split the code into two tests, it is now more readable too. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20201029113222.32640-15-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>