diff options
author | 2022-07-11 14:26:03 +0300 | |
---|---|---|
committer | 2022-07-27 21:16:32 +0200 | |
commit | 88af7bbdea37af59a43072243b358753189fd7a5 (patch) | |
tree | eefa17ad2138dde0007caa1aefd47adc8478ad27 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI: property: Move property ref argument parsing into a new function (diff) | |
download | linux-dev-88af7bbdea37af59a43072243b358753189fd7a5.tar.xz linux-dev-88af7bbdea37af59a43072243b358753189fd7a5.zip |
ACPI: property: Switch node property referencing from ifs to a switch
__acpi_node_get_property_reference() uses a series of if () statements for
testing the same variable. There's soon going to be one more value to be
tested.
Switch to use switch() instead.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.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