refactor(el3-runtime): plat_ic_has_interrupt_type returns bool
Rather than returning 0 or 1, the above function returns bool false
or true. No functional change.
Change-Id: Iea904ffc368568208fa8203e0d2e0cdaa500b1e0
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
diff --git a/bl31/interrupt_mgmt.c b/bl31/interrupt_mgmt.c
index 1c26834..68c7f10 100644
--- a/bl31/interrupt_mgmt.c
+++ b/bl31/interrupt_mgmt.c
@@ -47,7 +47,7 @@
******************************************************************************/
static int32_t validate_interrupt_type(uint32_t type)
{
- if (plat_ic_has_interrupt_type(type) != 0) {
+ if (plat_ic_has_interrupt_type(type)) {
return 0;
}