diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-08-21 15:04:57 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2024-08-26 16:48:21 +0200 |
commit | c34068c8edad268bbd83feb39ef1b8b47b571dd6 (patch) | |
tree | 2f223d745bc2db510d4a77a97b1794a24c81dcad /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | bb9a9bf2787fbe1a4e003daabc8f7a31c17740d6 (diff) |
platform/x86: intel-hid: Use string_choices API instead of ternary operator
Use modern string_choices API instead of manually determining the
output using ternary operator.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240821120458.3702655-1-andriy.shevchenko@linux.intel.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions