powerpc/vio: Clarify vio_find_node() reference counting
authorJohan Hovold <johan@kernel.org>
Tue, 1 Nov 2016 15:26:02 +0000 (16:26 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 14 Nov 2016 09:05:59 +0000 (20:05 +1100)
commite8cfb7e7c3b2be8a4c2241b5da2ae62bc1f4808f
treea81993867afca30bf8ef64c35352bf94d637fdc2
parent815a7141c4d1b11610dccb7fcbb38633759824f2
powerpc/vio: Clarify vio_find_node() reference counting

Add comment clarifying that vio_find_node() takes a reference to the
embedded struct device which needs to be dropped after use.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/vio.c