Commit c2b49ae6 authored by Brian Austin's avatar Brian Austin Committed by Mark Brown

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

Return true or false instead of 1 and 0
Signed-off-by: default avatarBrian Austin <brian.austin@cirrus.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment