diff options
author | Kousik Sanagavarapu <[email protected]> | 2024-08-25 14:18:43 +0530 |
---|---|---|
committer | Nishanth Menon <[email protected]> | 2024-08-28 12:18:02 -0500 |
commit | df70c0b4828bb85f1370453288a0a63d7618decf (patch) | |
tree | ccb22362f4fb875371e18984178f495c7687570f /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 952ceb03787dde88fc713c7453824e25bf12cb3a (diff) |
soc: ti: pruss: do device_node auto cleanup
Use scope based cleanup instead of manual of_node_put() calls, hence
simplifying the handling of error paths at various places.
While at it, use dev_err_probe() instead of dev_err() in all the code
paths touched.
Suggested-by: Julia Lawall <[email protected]>
Signed-off-by: Kousik Sanagavarapu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Nishanth Menon <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions