aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-06-01 08:32:22 +0400
committerLee Jones <[email protected]>2022-07-19 10:54:39 +0100
commit1520669c8255bd637c6b248b2be910e2688d38dd (patch)
tree80dfcf57a951de976c317b8b3d6b7096e532767f /lib/mpi/mpi-sub-ui.c
parent34b1a65ec1b5a8a292c9836cf36f511f2bb2f9eb (diff)
mfd: max77620: Fix refcount leak in max77620_initialise_fps
of_get_child_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak. Fixes: 327156c59360 ("mfd: max77620: Add core driver for MAX77620/MAX20024") Signed-off-by: Miaoqian Lin <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions