diff options
author | Paul Handrigan <Paul.Handrigan@cirrus.com> | 2014-06-28 11:34:25 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-30 11:11:58 +0100 |
commit | 59f5cbecf9531e56b1da16c9343349e3e3ea972b (patch) | |
tree | 85cbdf120bc6147a25648cda5610ab8db9ebfc3e /sound/soc/codecs/cs4265.c | |
parent | fb6f806967f6fe36fa40334e5551a5892d48f36f (diff) | |
download | talos-op-linux-59f5cbecf9531e56b1da16c9343349e3e3ea972b.tar.gz talos-op-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; } } |