From: Paul Handrigan Date: Sat, 28 Jun 2014 16:34:25 +0000 (-0500) Subject: ASoC: cs4265: Change return values to boolean. X-Git-Tag: v3.17-rc1~101^2~5^2~9^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=59f5cbecf9531e56b1da16c9343349e3e3ea972b;p=karo-tx-linux.git ASoC: cs4265: Change return values to boolean. The cs4265_volatile_register reutrns a bool. The function now returns true or false vs 1 and 0. Signed-off-by: Paul Handrigan Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/cs4265.c b/sound/soc/codecs/cs4265.c index c9c04d2987c2..4c4bf216d51a 100644 --- a/sound/soc/codecs/cs4265.c +++ b/sound/soc/codecs/cs4265.c @@ -87,9 +87,9 @@ static bool cs4265_volatile_register(struct device *dev, unsigned int reg) { switch (reg) { case CS4265_INT_STATUS: - return 1; + return true; default: - return 0; + return false; } }