diff options
author | Brian Austin <brian.austin@cirrus.com> | 2014-08-28 11:02:41 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-28 14:04:53 -0400 |
commit | 5c216cc3f37a6eecb4e12ab0248b66e6386da0fe (patch) | |
tree | 9f18b1bac4e058265dde30b7d65f23a0d0c08c51 | |
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>
-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) | |||
176 | case CS42L52_BATT_LEVEL: | 176 | case CS42L52_BATT_LEVEL: |
177 | case CS42L52_SPK_STATUS: | 177 | case CS42L52_SPK_STATUS: |
178 | case CS42L52_CHARGE_PUMP: | 178 | case CS42L52_CHARGE_PUMP: |
179 | return 1; | 179 | return true; |
180 | default: | 180 | default: |
181 | return 0; | 181 | return false; |
182 | } | 182 | } |
183 | } | 183 | } |
184 | 184 | ||