Commit 1c7c1488 authored by Jiapeng Chong's avatar Jiapeng Chong Committed by Lee Jones
Browse files

mfd: dbx500-prcmu: Use true and false for bool variable



Fix the following coccicheck warning:

./include/linux/mfd/db8500-prcmu.h:723:8-9: WARNING: return of 0/1 in
function 'db8500_prcmu_is_ac_wake_requested' with return type bool.

Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 94f6f62a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -720,7 +720,7 @@ static inline int db8500_prcmu_load_a9wdog(u8 id, u32 val)

static inline bool db8500_prcmu_is_ac_wake_requested(void)
{
	return 0;
	return false;
}

static inline int db8500_prcmu_set_arm_opp(u8 opp)