From d68741d8b1ed50fb9a86a475074b6ddf1f818813 Mon Sep 17 00:00:00 2001
From: Anup Patel <anup.patel@wdc.com>
Date: Wed, 23 Jan 2019 09:00:35 +0530
Subject: include: Use TRUE/FALSE as return values in
 sbi_platform_hart_disabled()

The sbi_platform_hart_disabled() returns bool hence explicitly return
TRUE or FALSE instead of 1 or 0.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
---
 include/sbi/sbi_platform.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/sbi/sbi_platform.h b/include/sbi/sbi_platform.h
index 4c39418..05e7a7e 100644
--- a/include/sbi/sbi_platform.h
+++ b/include/sbi/sbi_platform.h
@@ -159,8 +159,8 @@ static inline bool sbi_platform_hart_disabled(struct sbi_platform *plat,
 					      u32 hartid)
 {
 	if (plat && (plat->disabled_hart_mask & (1 << hartid)))
-		return 1;
-	return 0;
+		return TRUE;
+	return FALSE;
 }
 
 /**
-- 
cgit v1.2.3