commit | c88c2a188905cb3077c3c38dc498e7e9f8eebeee | [log] [tgz] |
---|---|---|
author | Daniel Axtens <dja@axtens.net> | Tue Mar 31 16:00:41 2015 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sat Apr 11 20:49:10 2015 +1000 |
tree | 36fd0a09d7edba5db25562836d3228c6a823fd5f | |
parent | ba9c8f227358bcbc80fca19e7a339883cbc956a5 [diff] |
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>