diff options
author | Wan Jiabing | 2021-10-14 04:45:55 -0400 |
---|---|---|
committer | Nicolas Ferre | 2021-12-08 14:01:16 +0100 |
commit | bb29e4091079dd7ef5bd488bd7625965cdfd2c12 (patch) | |
tree | c4d4e6ada9e9de87b643bda9249a0220e4f9ba1d /block | |
parent | fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff) |
ARM: at91: pm: Add of_node_put() before goto
Fix following coccicheck warning:
./arch/arm/mach-at91/pm.c:643:1-33: WARNING: Function
for_each_matching_node_and_match should have of_node_put() before goto
Early exits from for_each_matching_node_and_match should decrement the
node reference counter.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20211014084555.21422-1-wanjiabing@vivo.com
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions