diff options
author | 2021-10-14 23:39:17 -0400 | |
---|---|---|
committer | 2021-10-15 16:11:00 +0100 | |
commit | 2a4a4e8918f002c9da41d4ffb643ea78b1aa4a4f (patch) | |
tree | 42ccf4a0459baf1088d0dbb86f145269328fbd2d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | spi: orion: Add of_node_put() before goto (diff) | |
download | linux-dev-2a4a4e8918f002c9da41d4ffb643ea78b1aa4a4f.tar.xz linux-dev-2a4a4e8918f002c9da41d4ffb643ea78b1aa4a4f.zip |
spi: cadence: Add of_node_put() before return
Fix following coccicheck warning:
./drivers/spi/spi-cadence-xspi.c:490: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/20211015033919.5915-1-wanjiabing@vivo.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions