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 c766a5a9ce8088441df5d363c91244c49d270798..b1c7396c80c85dd8948cdd1ceb74eb6de478facc 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;
        }
 }
 
This page took 0.026298 seconds and 5 git commands to generate.