Skip to content
Unverified Commit 83bd5c53 authored by Yang Li's avatar Yang Li Committed by Mark Brown
Browse files

ASoC: codecs: wcd938x: fix boolreturn.cocci warning



Return statements in functions returning bool should use true/false
instead of 1/0.

Fix the following coccicheck warning:
./sound/soc/codecs/wcd938x.c:1190:9-10: WARNING: return of 0/1 in
function 'wcd938x_volatile_register' with return type bool.

Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarYang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/1623811535-15841-1-git-send-email-yang.lee@linux.alibaba.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3325b151
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment