ASoC: cs42l56: use true/false returns for bool functions
authorBrian Austin <brian.austin@cirrus.com>
Thu, 28 Aug 2014 15:02:42 +0000 (10:02 -0500)
committerMark Brown <broonie@linaro.org>
Thu, 28 Aug 2014 18:05:10 +0000 (19:05 +0100)
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>
sound/soc/codecs/cs42l56.c

index c766a5a..b1c7396 100644 (file)
@@ -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;
        }
 }