mbox series

[00/10] lib/string_choices: Add new helpers

Message ID 87y0xt6zgn.wl-kuninori.morimoto.gx@renesas.com (mailing list archive)
Headers show
Series lib/string_choices: Add new helpers | expand

Message

Kuninori Morimoto Feb. 26, 2025, 5:34 a.m. UTC
Hi Kees

I would like to use string_choices helper to cleanup the code, but it missing
some of well used string pair in kernel. This patch-set adds it.

Kuninori Morimoto (10):
  lib/string_choices: Add str_tx_rx() helper
  lib/string_choices: Add str_enabling_disabling() helper
  lib/string_choices: Add str_in_out() helper
  lib/string_choices: Add str_input_output() helper
  lib/string_choices: Add str_Y_N() helper
  lib/string_choices: Add str_pass_fail() helper
  lib/string_choices: Add str_to_from() helper
  lib/string_choices: Add str_level_edge() helper
  lib/string_choices: Add str_kernel_user() helper
  lib/string_choices: Add str_attach_detach() helper

 include/linux/string_choices.h | 61 ++++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)