aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorSakari Ailus <[email protected]>2022-07-11 14:26:03 +0300
committerRafael J. Wysocki <[email protected]>2022-07-27 21:16:32 +0200
commit88af7bbdea37af59a43072243b358753189fd7a5 (patch)
treeeefa17ad2138dde0007caa1aefd47adc8478ad27 /scripts/gdb/linux/utils.py
parent1aef25d9d1edbcf5b9af4611448d931d0752377c (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