summaryrefslogtreecommitdiff
path: root/drivers/hwmon/dell-smm-hwmon.c
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-10-18 15:15:37 +0300
committerGuenter Roeck <linux@roeck-us.net>2021-10-18 17:23:21 +0300
commit66ae4d562b6a8eb2e54d051f31350b1bd5fa3d9c (patch)
treefe5cd476a71b843e1f92b5e5c5cd2b558a4d1b04 /drivers/hwmon/dell-smm-hwmon.c
parentefb389b8c34fa7da673eb0a598b223bd891daa9d (diff)
downloadlinux-66ae4d562b6a8eb2e54d051f31350b1bd5fa3d9c.tar.xz
hwmon: (tmp421) Add of_node_put() before return
Fix following coccicheck warning: ./drivers/hwmon/tmp421.c:416:1-23: WARNING: Function for_each_child_of_node should have of_node_put() before return. Early exits from for_each_child_of_node should decrement the node reference counter. Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Link: https://lore.kernel.org/r/20211018121538.16482-1-wanjiabing@vivo.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/dell-smm-hwmon.c')
0 files changed, 0 insertions, 0 deletions