diff options
author | Benjamin Tissoires <bentiss@kernel.org> | 2023-08-31 10:36:06 +0200 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2023-08-31 10:36:06 +0200 |
commit | 11438237ade7128ee7a39c404145cecf85318e7a (patch) | |
tree | e4403f9e1e262f0bd96fa0bc1263f53500cb14b0 /include | |
parent | 0c4b9411f3630b17c51e31b1b4c50e9412c8da0a (diff) | |
parent | a6a5eccc6e1d8b21c12e70cda7e15b6541e4eb37 (diff) |
Merge branch 'for-6.6/cp2112' into for-linus
Cleanup of the hid-cp2112 driver by Andy Shevchenko
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/string_choices.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/string_choices.h b/include/linux/string_choices.h index 48120222b9b2..3c1091941eb8 100644 --- a/include/linux/string_choices.h +++ b/include/linux/string_choices.h @@ -30,6 +30,7 @@ static inline const char *str_read_write(bool v) { return v ? "read" : "write"; } +#define str_write_read(v) str_read_write(!(v)) static inline const char *str_on_off(bool v) { |