diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-06-16 10:45:35 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-06-16 15:41:13 +0100 |
commit | 83bd5c53ebf6f2f7b8b0b7db4c038ad7a5a5448a (patch) | |
tree | d7bceafd05696f6324593de518747bc0a6a4c28e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3325b1515a92fc07ec16b4d33c8bccc0a83f12ca (diff) |
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: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang 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: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions