commit | 2a4a4e8918f002c9da41d4ffb643ea78b1aa4a4f | [log] [tgz] |
---|---|---|
author | Wan Jiabing <wanjiabing@vivo.com> | Thu Oct 14 23:39:17 2021 -0400 |
committer | Mark Brown <broonie@kernel.org> | Fri Oct 15 16:11:00 2021 +0100 |
tree | 42ccf4a0459baf1088d0dbb86f145269328fbd2d | |
parent | dbf641a10f6138fb84866d33ac05f9e1eae95e04 [diff] |
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>