]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/83xx: Add missing of_node_put() after of_device_is_available()
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 23 Feb 2019 13:20:34 +0000 (14:20 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Apr 2019 12:02:27 +0000 (22:02 +1000)
commiteb0dc749aeae1b9bbd987d40adab85b2169d6101
tree0a00af95ef473704f3d340dbb4a9387d0180d4d5
parent6ba2af747c280d78885caab2ffb0ee3efd7b2808
powerpc/83xx: Add missing of_node_put() after of_device_is_available()

Add an of_node_put() when a tested device node is not available.

Fixes: 758f5f1c9ddf2 ("powerpc/83xx: Do not configure or probe disabled FSL DR USB controllers")
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/83xx/usb.c