diff options
| author | Vadym Kochan <[email protected]> | 2020-09-17 14:44:37 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-09-17 18:48:23 +0200 |
| commit | b1c194dcdb1425fa59eec61ab927cfff33096149 (patch) | |
| tree | 36085ff717b7279a94cb096355ebfa14dd6cacaa /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 1eb51d6a4fce66e7c4428b5761b75b357931422a (diff) | |
nvmem: core: fix missing of_node_put() in of_nvmem_device_get()
of_parse_phandle() returns device_node with incremented ref count
which needs to be decremented by of_node_put() when device_node
is not used.
Fixes: e2a5402ec7c6 ("nvmem: Add nvmem_device based consumer apis.")
Signed-off-by: Vadym Kochan <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions