aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorZhangPeng <[email protected]>2022-11-25 07:01:56 +0000
committerLinus Walleij <[email protected]>2022-11-25 09:49:28 +0000
commit5ead93289815a075d43c415e35c8beafafb801c9 (patch)
tree0295726f7983d6edf51ea3ca17b8fdf367979aa9 /drivers/platform/x86/intel/pmt/class.c
parentpinctrl: k210: call of_node_put() (diff)
downloadkernel-5ead93289815a075d43c415e35c8beafafb801c9.tar.gz
kernel-5ead93289815a075d43c415e35c8beafafb801c9.zip
pinctrl: pinconf-generic: add missing of_node_put()
of_node_put() needs to be called when jumping out of the loop, since for_each_available_child_of_node() will increase the refcount of node. Fixes: c7289500e29d ("pinctrl: pinconf-generic: scan also referenced phandle node") Signed-off-by: ZhangPeng <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions