aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2023-08-18 15:41:00 -0500
committerRob Herring <[email protected]>2023-08-21 17:09:57 -0500
commit6701c2c76a1ed4bb442235204820cfa24e8d5b9c (patch)
tree868cae2fbe77c09f7bdcae1794f4bb7ba89f65ed /tools/perf/scripts/python/task-analyzer.py
parent420f0de965a80b7060d23d2c23cddaed4e4ad2eb (diff)
of: dynamic: Move dead property list check into property add/update functions
The changeset code checks for a property in the deadprops list when adding/updating a property, but of_add_property() and of_update_property() do not. As the users of these functions are pretty simple, they have not hit this scenario or else the property lists would get corrupted. With this there are 3 cases of removing a property from either deadprops or properties lists, so add a helper to find and remove a matching property. Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions