diff options
author | Brian Austin <brian.austin@cirrus.com> | 2014-08-28 10:02:42 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-28 19:05:10 +0100 |
commit | c2b49ae678b8bd1fd4ea3e3ae106020d663e8969 (patch) | |
tree | 11fa8f93b50a67531e2287f85ccdf2fed7cfbfcf /sound/soc/codecs/cs42l56.c | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) |
ASoC: cs42l56: 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/cs42l56.c')
-rw-r--r-- | sound/soc/codecs/cs42l56.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/cs42l56.c b/sound/soc/codecs/cs42l56.c index c766a5a9ce8..b1c7396c80c 100644 --- a/sound/soc/codecs/cs42l56.c +++ b/sound/soc/codecs/cs42l56.c @@ -171,9 +171,9 @@ static bool cs42l56_volatile_register(struct device *dev, unsigned int reg) { switch (reg) { case CS42L56_INT_STATUS: - return 1; + return true; default: - return 0; + return false; } } |