powerpc: pcibios_enable_device_hook: return bool rather than int
authorDaniel Axtens <dja@axtens.net>
Tue, 31 Mar 2015 05:00:41 +0000 (16:00 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 11 Apr 2015 10:49:10 +0000 (20:49 +1000)
commitc88c2a188905cb3077c3c38dc498e7e9f8eebeee
tree36fd0a09d7edba5db25562836d3228c6a823fd5f
parentba9c8f227358bcbc80fca19e7a339883cbc956a5
powerpc: pcibios_enable_device_hook: return bool rather than int

pcibios_enable_device_hook returned an int. Every implementation
returned either -EINVAL or 0. The return value wasn't propagated by
the caller: any non-zero return value caused pcibios_enable_device
to return -EINVAL itself. Therefore, make the hook return a bool.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/machdep.h
arch/powerpc/kernel/pci-common.c
arch/powerpc/platforms/powermac/pci.c
arch/powerpc/platforms/powermac/pmac.h
arch/powerpc/platforms/powernv/pci-ioda.c