From: Brian Austin Date: Thu, 28 Aug 2014 15:02:42 +0000 (-0500) Subject: ASoC: cs42l56: use true/false returns for bool functions X-Git-Tag: v3.18-rc1~99^2~8^2~7^4~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c2b49ae678b8bd1fd4ea3e3ae106020d663e8969;p=karo-tx-linux.git ASoC: cs42l56: 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/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; } }