aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWan Jiabing <[email protected]>2021-10-21 08:18:23 -0400
committerJonathan Cameron <[email protected]>2021-11-17 17:51:32 +0000
commit8cf524be72fa8205754ed0ddc11a32aaf156c39f (patch)
treec99ad7258de3760f16623392a8405a68a0d11edb /tools/perf/scripts/python
parentfb45c7a31ec1f772502867ea87a2315b57a9f439 (diff)
iio: adc: stm32-adc: Fix of_node_put() issue in stm32-adc
Fix following coccicheck warning: ./drivers/iio/adc/stm32-adc.c:2014:1-33: WARNING: Function for_each_available_child_of_node should have of_node_put() before return. Early exits from for_each_available_child_of_node should decrement the node reference counter. Replace return by goto here. Reviewed-by: Fabrice Gasnier <[email protected]> Signed-off-by: Wan Jiabing <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions