diff options
author | 2025-06-12 23:11:28 +0300 | |
---|---|---|
committer | 2025-06-26 21:08:13 +0200 | |
commit | 86dc11cd6f5cb19ea9d33610216acfa786e09b1d (patch) | |
tree | 95d9c75fc53903d72fbe6e4c46436085b626a832 /tools/perf/scripts/python | |
parent | ACPI: proc: Remove unused header (diff) | |
download | wireguard-linux-86dc11cd6f5cb19ea9d33610216acfa786e09b1d.tar.xz wireguard-linux-86dc11cd6f5cb19ea9d33610216acfa786e09b1d.zip |
ACPI: proc: Use str_enabled_disabled() helper
Replace ternary (condition ? "enabled" : "disabled") with
str_enabled_disabled() from string_choices.h to improve readability,
maintain uniform string usage, and reduce binary size through linker
deduplication.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250612201321.3536493-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions