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

index 969167d8b71e0fa8ff68a61f2014564e1a69aa5d..da4f758cd12a2bff1ebe99f9ccf91128b33711f1 100644 (file)
@@ -176,9 +176,9 @@ static bool cs42l52_volatile_register(struct device *dev, unsigned int reg)
        case CS42L52_BATT_LEVEL:
        case CS42L52_SPK_STATUS:
        case CS42L52_CHARGE_PUMP:
-               return 1;
+               return true;
        default:
-               return 0;
+               return false;
        }
 }
 
This page took 0.02499 seconds and 5 git commands to generate.