lib/string_choices: Add str_high_low() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 6 Mar 2023 19:55:43 +0000 (21:55 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 12 Jun 2023 17:14:22 +0000 (20:14 +0300)
commita9fc76645ca02a79ab491e2b05e29dc222b1f6b4
treefa97d89e126045a4ee491cd99c79cd12d3905f14
parentfca76071bab2304b379c35674d3b9e36a82e364a
lib/string_choices: Add str_high_low() helper

Add str_high_low() helper to return 'high' or 'low' string literal.
Also add an inversed variant, i.e. str_low_high().

All the same for str_hi_low().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
include/linux/string_choices.h