]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit57dbfc983d0c022f37ab6258aa8155e885f7fb9a
treea81993867afca30bf8ef64c35352bf94d637fdc2
parenteca07f9ff793346ae13de689fcc21ad0e16faaed
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