提交 c2b49ae6 编写于 作者: B Brian Austin 提交者: Mark Brown

ASoC: cs42l56: use true/false returns for bool functions

Return true or false instead of 1 and 0
Signed-off-by: NBrian Austin <brian.austin@cirrus.com>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 7d1311b9
...@@ -171,9 +171,9 @@ static bool cs42l56_volatile_register(struct device *dev, unsigned int reg) ...@@ -171,9 +171,9 @@ static bool cs42l56_volatile_register(struct device *dev, unsigned int reg)
{ {
switch (reg) { switch (reg) {
case CS42L56_INT_STATUS: case CS42L56_INT_STATUS:
return 1; return true;
default: default:
return 0; return false;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册