Re: [PATCH v3 2/6] ACPI: AC: Use string_choices API instead of ternary operator

2023-10-13 Thread Rafael J. Wysocki
On Wed, Oct 11, 2023 at 10:34 AM Michal Wilczynski wrote: > > Use modern string_choices API instead of manually determining the > output using ternary operator. > > Suggested-by: Andy Shevchenko > Reviewed-by: Andy Shevchenko > Signed-off-by: Michal Wilczynski > --- > drivers/acpi/ac.c | 5

[PATCH v3 2/6] ACPI: AC: Use string_choices API instead of ternary operator

2023-10-11 Thread Michal Wilczynski
Use modern string_choices API instead of manually determining the output using ternary operator. Suggested-by: Andy Shevchenko Reviewed-by: Andy Shevchenko Signed-off-by: Michal Wilczynski --- drivers/acpi/ac.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git