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)
commit4df2cb633b5b22ba152511f1a55e718efca6c0d9
tree0a00af95ef473704f3d340dbb4a9387d0180d4d5
parent0235854e1c25069d14512a35ea5cd05372e31fd6
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: c026c98739c7e ("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