aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2024-08-14 12:35:37 +0200
committerGreg Kroah-Hartman <[email protected]>2024-09-03 09:52:45 +0200
commitbde053252c02186836ea0d1bee492d2e95c3f983 (patch)
tree734d8aff3045be0fb029240d792f0523927ee811 /tools/perf/scripts/python/exported-sql-viewer.py
parentdbf0fa1c8d47914c3b4919f01b131e0523f6d804 (diff)
usb: dwc3: st: use scoped device node handling to simplify error paths
Obtain the device node reference with scoped/cleanup.h to reduce error handling and make the code a bit simpler. Scoped/cleanup.h coding style expects variable declaration with initialization, so the of_get_compatible_child() call has to be moved earlier, before any goto jumps happen. Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Thinh Nguyen <[email protected]> Reviewed-by: Patrice Chotard <[email protected]> Link: https://lore.kernel.org/r/20240814-b4-cleanup-h-of-node-put-usb-v1-1-95481b9682bc@linaro.org Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions