aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/dcr.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-03-30 19:46:04 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2015-03-30 23:19:47 -0400
commitacdb66857fb9a713c93bb3e6edba5ee478ba0678 (patch)
treeeb1fd2cf6064c4592072915b22856b5f96d47316 /arch/powerpc/sysdev/dcr.c
parent4cd968ef4249fde24194b7b9a74be87dd7f8ed0f (diff)
powerpc: Use bool function return values of true/false not 1/0
Use the normal return values for bool functions Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/sysdev/dcr.c')
-rw-r--r--arch/powerpc/sysdev/dcr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/dcr.c b/arch/powerpc/sysdev/dcr.c
index 2d8a101b6b9e..121e26fffd50 100644
--- a/arch/powerpc/sysdev/dcr.c
+++ b/arch/powerpc/sysdev/dcr.c
@@ -54,7 +54,7 @@ bool dcr_map_ok_generic(dcr_host_t host)
54 else if (host.type == DCR_HOST_MMIO) 54 else if (host.type == DCR_HOST_MMIO)
55 return dcr_map_ok_mmio(host.host.mmio); 55 return dcr_map_ok_mmio(host.host.mmio);
56 else 56 else
57 return 0; 57 return false;
58} 58}
59EXPORT_SYMBOL_GPL(dcr_map_ok_generic); 59EXPORT_SYMBOL_GPL(dcr_map_ok_generic);
60 60