diff options
author | Brian Austin <brian.austin@cirrus.com> | 2014-08-28 10:02:41 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-28 19:04:53 +0100 |
commit | 5c216cc3f37a6eecb4e12ab0248b66e6386da0fe (patch) | |
tree | 9f18b1bac4e058265dde30b7d65f23a0d0c08c51 /sound/soc/codecs/cs42l52.c | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) |
ASoC: cs42l52: use true/false returns for bool functions
Return true or false instead of 1 and 0
Signed-off-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/cs42l52.c')
-rw-r--r-- | sound/soc/codecs/cs42l52.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/cs42l52.c b/sound/soc/codecs/cs42l52.c index 969167d8b71e..da4f758cd12a 100644 --- a/sound/soc/codecs/cs42l52.c +++ b/sound/soc/codecs/cs42l52.c @@ -176,9 +176,9 @@ static bool cs42l52_volatile_register(struct device *dev, unsigned int reg) case CS42L52_BATT_LEVEL: case CS42L52_SPK_STATUS: case CS42L52_CHARGE_PUMP: - return 1; + return true; default: - return 0; + return false; } } |