diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-02-10 10:07:36 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-04-14 18:03:16 +0300 |
commit | 1c7c1488898e1b3fd15d38f373a8c947a2d9b1e3 (patch) | |
tree | e4402c250d06b0ead3663f2ee3cb84826c298e26 /include/linux/mfd | |
parent | 94f6f62a63853091882ee2a81a5f30152f4747c4 (diff) | |
download | linux-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.h | 2 |
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) |