diff options
| author | Tobias Jordan <[email protected]> | 2020-09-26 18:19:46 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-09-29 17:50:51 +0100 |
| commit | da4410d4078ba4ead9d6f1027d6db77c5a74ecee (patch) | |
| tree | 7ec56cb4f676c67d904f73142c6c245338375d92 /tools/perf/scripts/python/stackcollapse.py | |
| parent | c537d3457542a398caa1fe58e0976c5f83cf7281 (diff) | |
iio: adc: gyroadc: fix leak of device node iterator
Add missing of_node_put calls when exiting the for_each_child_of_node
loop in rcar_gyroadc_parse_subdevs early.
Also add goto-exception handling for the error paths in that loop.
Fixes: 059c53b32329 ("iio: adc: Add Renesas GyroADC driver")
Signed-off-by: Tobias Jordan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions