dm: Return actual bools in dm_fdt_pre_reloc
authorHeiko Stübner <heiko@sntech.de>
Thu, 23 Feb 2017 16:30:38 +0000 (17:30 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 16 Mar 2017 22:03:47 +0000 (16:03 -0600)
commitd905cf7365ad25c55129ce6bc473b67a642d7817
tree426cb4ef8caae5514bd8c2fe0b871335df7ffaf0
parent5c0206cc1074c3c945b4cfa3d8149c1c62bc1720
dm: Return actual bools in dm_fdt_pre_reloc

Documentation says that we're returning true/false, not 1/0 so adapt
the function to return actual booleans.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/core/util.c
include/dm/util.h