sparc/kernel/vio.c: add put_device() after device_find_child()
authorFederico Vaga <federico.vaga@gmail.com>
Mon, 15 Apr 2013 04:42:52 +0000 (04:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 May 2013 00:38:18 +0000 (17:38 -0700)
commit75e448036bece2f7dfa96ec4a68410c68208a951
tree68973b70f041a8773667b9f5651bdd31773b30e6
parent150a8dcf109f68f322bf112c7604f2d950303f00
sparc/kernel/vio.c: add put_device() after device_find_child()

The vio_remove() function uses device_find_child() but it does not drop
the reference of the retrieved child.

Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/vio.c