diff options
author | 2023-10-11 11:33:30 +0300 | |
---|---|---|
committer | 2023-10-13 19:51:54 +0200 | |
commit | 616990c92e40e4721beb66c2f855915fc1f32aba (patch) | |
tree | 4da61d51ae979b416bb58c7c78428f8fb9cd13ed /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI: AC: Remove redundant checks (diff) | |
download | wireguard-linux-616990c92e40e4721beb66c2f855915fc1f32aba.tar.xz wireguard-linux-616990c92e40e4721beb66c2f855915fc1f32aba.zip |
ACPI: AC: Use string_choices API instead of ternary operator
Use modern string_choices API instead of manually determining the
output using ternary operator.
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Michal Wilczynski <michal.wilczynski@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions