Commit 5c216cc3 authored by Brian Austin's avatar Brian Austin Committed by Mark Brown

ASoC: cs42l52: 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
...@@ -176,9 +176,9 @@ static bool cs42l52_volatile_register(struct device *dev, unsigned int reg) ...@@ -176,9 +176,9 @@ static bool cs42l52_volatile_register(struct device *dev, unsigned int reg)
case CS42L52_BATT_LEVEL: case CS42L52_BATT_LEVEL:
case CS42L52_SPK_STATUS: case CS42L52_SPK_STATUS:
case CS42L52_CHARGE_PUMP: case CS42L52_CHARGE_PUMP:
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