diff options
author | Miaoqian Lin <[email protected]> | 2022-06-05 12:28:07 +0400 |
---|---|---|
committer | Michal Simek <[email protected]> | 2022-06-29 14:12:08 +0200 |
commit | d1ff2559cef0f6f8d97fba6337b28adb10689e16 (patch) | |
tree | e2481a1f1ef8704e66b4525183c18910c235c5aa /drivers/usb/cdns3/cdns3-trace.c | |
parent | f2906aa863381afb0015a9eb7fefad885d4e5a56 (diff) |
cpufreq: zynq: Fix refcount leak in zynq_get_revision
of_find_compatible_node() returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
Add missing of_node_put() to avoid refcount leak.
Fixes: 00f7dc636366 ("ARM: zynq: Add support for SOC_BUS")
Signed-off-by: Miaoqian Lin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions