diff options
author | Sakari Ailus <[email protected]> | 2022-07-11 14:26:03 +0300 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2022-07-27 21:16:32 +0200 |
commit | 88af7bbdea37af59a43072243b358753189fd7a5 (patch) | |
tree | eefa17ad2138dde0007caa1aefd47adc8478ad27 /scripts/gdb/linux/utils.py | |
parent | 1aef25d9d1edbcf5b9af4611448d931d0752377c (diff) |
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 <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions