diff options
| author | Wan Jiabing <[email protected]> | 2021-10-18 12:15:37 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2021-10-18 14:23:21 +0000 |
| commit | 66ae4d562b6a8eb2e54d051f31350b1bd5fa3d9c (patch) | |
| tree | fe5cd476a71b843e1f92b5e5c5cd2b558a4d1b04 /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
| parent | hwmon: (max31722) Warn about failure to put device in stand-by in .remove() (diff) | |
| download | kernel-66ae4d562b6a8eb2e54d051f31350b1bd5fa3d9c.tar.gz kernel-66ae4d562b6a8eb2e54d051f31350b1bd5fa3d9c.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions
