summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs42l56.c
diff options
context:
space:
mode:
authorBrian Austin <brian.austin@cirrus.com>2014-08-28 17:02:42 +0200
committerMark Brown <broonie@linaro.org>2014-08-28 20:05:10 +0200
commitc2b49ae678b8bd1fd4ea3e3ae106020d663e8969 (patch)
tree11fa8f93b50a67531e2287f85ccdf2fed7cfbfcf /sound/soc/codecs/cs42l56.c
parentLinux 3.17-rc1 (diff)
downloadlinux-c2b49ae678b8bd1fd4ea3e3ae106020d663e8969.tar.xz
linux-c2b49ae678b8bd1fd4ea3e3ae106020d663e8969.zip
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/cs42l56.c b/sound/soc/codecs/cs42l56.c
index c766a5a9ce80..b1c7396c80c8 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;
}
}