From: Brian Austin Date: Thu, 28 Aug 2014 15:02:41 +0000 (-0500) Subject: ASoC: cs42l52: use true/false returns for bool functions X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=5c216cc3f37a6eecb4e12ab0248b66e6386da0fe;p=deliverable%2Flinux.git ASoC: cs42l52: use true/false returns for bool functions Return true or false instead of 1 and 0 Signed-off-by: Brian Austin Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/cs42l52.c b/sound/soc/codecs/cs42l52.c index 969167d8b71e..da4f758cd12a 100644 --- a/sound/soc/codecs/cs42l52.c +++ b/sound/soc/codecs/cs42l52.c @@ -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; } }