diff options
author | Pan Bian <[email protected]> | 2021-01-20 19:27:56 -0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-01-21 18:14:21 +0000 |
commit | dea6dd2ba63f8c8532addb8f32daf7b89a368a42 (patch) | |
tree | 4b2b06be481b252b3d6de91a7bb1dd4cc118f548 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | d93d6f52bd9e3aa6f37b7ea5657e4bee50a4b0a4 (diff) |
regulator: s5m8767: Fix reference count leak
Call of_node_put() to drop references of regulators_np and reg_np before
returning error code.
Fixes: 9ae5cc75ceaa ("regulator: s5m8767: Pass descriptor instead of GPIO number")
Signed-off-by: Pan Bian <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions