projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94f6f62
)
mfd: dbx500-prcmu: Use true and false for bool variable
author
Jiapeng Chong
<jiapeng.chong@linux.alibaba.com>
Wed, 10 Feb 2021 07:07:36 +0000
(15:07 +0800)
committer
Lee Jones
<lee.jones@linaro.org>
Wed, 14 Apr 2021 15:03:16 +0000
(16:03 +0100)
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>
include/linux/mfd/db8500-prcmu.h
patch
|
blob
|
history
diff --git
a/include/linux/mfd/db8500-prcmu.h
b/include/linux/mfd/db8500-prcmu.h
index
4b63d3e
..
a62de3d
100644
(file)
--- 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)