summaryrefslogtreecommitdiff
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2021-02-10 10:07:36 +0300
committerLee Jones <lee.jones@linaro.org>2021-04-14 18:03:16 +0300
commit1c7c1488898e1b3fd15d38f373a8c947a2d9b1e3 (patch)
treee4402c250d06b0ead3663f2ee3cb84826c298e26 /include/linux/mfd
parent94f6f62a63853091882ee2a81a5f30152f4747c4 (diff)
downloadlinux-1c7c1488898e1b3fd15d38f373a8c947a2d9b1e3.tar.xz
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: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/db8500-prcmu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/db8500-prcmu.h b/include/linux/mfd/db8500-prcmu.h
index 4b63d3ecdcff..a62de3d155ed 100644
--- a/include/linux/mfd/db8500-prcmu.h
+++ b/include/linux/mfd/db8500-prcmu.h
@@ -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)