From: Daniel Axtens Date: Tue, 31 Mar 2015 05:00:41 +0000 (+1100) Subject: powerpc: pcibios_enable_device_hook: return bool rather than int X-Git-Tag: omap-for-v4.1/fixes-rc1~126^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c88c2a188905cb3077c3c38dc498e7e9f8eebeee;p=pandora-kernel.git 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 Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed