diff options
author | Paul Handrigan <Paul.Handrigan@cirrus.com> | 2014-06-28 18:34:25 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-30 12:11:58 +0200 |
commit | 59f5cbecf9531e56b1da16c9343349e3e3ea972b (patch) | |
tree | 85cbdf120bc6147a25648cda5610ab8db9ebfc3e /sound/soc/codecs/cs4265.c | |
parent | ASoC: Add support for the CS4265 CODEC (diff) | |
download | linux-59f5cbecf9531e56b1da16c9343349e3e3ea972b.tar.xz linux-59f5cbecf9531e56b1da16c9343349e3e3ea972b.zip |
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 <Paul.Handrigan@cirrus.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/cs4265.c')
-rw-r--r-- | sound/soc/codecs/cs4265.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |