aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorLiang He <[email protected]>2022-06-16 19:40:24 +0800
committerGuenter Roeck <[email protected]>2022-07-13 08:38:20 -0700
commitb674bcb13f418e0580878c21afbe14c4bdfa3138 (patch)
treee4e7c458dda8a4e88b88d4f22354ec429d85cb0c /drivers/usb/cdns3/cdns3-trace.c
parent489dd8f05a3e97a28bc240be29b78bf8aba77969 (diff)
hwmon: (gsc-hwmon) Add missing of_node_put()
In gsc_hwmon_get_devtree_pdata(), of_find_compatible_node() will return a node pointer with refcount incremented. We should use of_node_put() in fail path or when it is not used anymore. Signed-off-by: Liang He <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions