]> 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)
commit7573db7e979bde5e9b915e1d0447e5ad6f95a138
treea81993867afca30bf8ef64c35352bf94d637fdc2
parent52540c152b08b4342c3e8b5694785dfd93297c27
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