diff options
author | Wan Jiabing <wanjiabing@vivo.com> | 2021-10-18 04:45:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-27 13:04:25 +0300 |
commit | 5a47ca7f78944fd2d56113fc36cca97d1e25704f (patch) | |
tree | 00e8775ab62f60eb5f387b3b7cd779488366c8f6 /net/batman-adv | |
parent | 75272f75eddf15294a301cadab6f594153831c26 (diff) | |
download | linux-5a47ca7f78944fd2d56113fc36cca97d1e25704f.tar.xz |
ARM: shmobile: rcar-gen2: Add missing of_node_put()
[ Upstream commit 85744f2d938c5f3cfc44cb6533c157469634da93 ]
Fix following coccicheck warning:
./arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c:156:1-33: Function
for_each_matching_node_and_match should have of_node_put() before break
and goto.
Early exits from for_each_matching_node_and_match() should decrement the
node reference counter.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Link: https://lore.kernel.org/r/20211018014503.7598-1-wanjiabing@vivo.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/batman-adv')
0 files changed, 0 insertions, 0 deletions