aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs4265.c
diff options
context:
space:
mode:
authorPaul Handrigan <Paul.Handrigan@cirrus.com>2014-06-28 12:34:25 -0400
committerMark Brown <broonie@linaro.org>2014-06-30 06:11:58 -0400
commit59f5cbecf9531e56b1da16c9343349e3e3ea972b (patch)
tree85cbdf120bc6147a25648cda5610ab8db9ebfc3e /sound/soc/codecs/cs4265.c
parentfb6f806967f6fe36fa40334e5551a5892d48f36f (diff)
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.c4
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)
87{ 87{
88 switch (reg) { 88 switch (reg) {
89 case CS4265_INT_STATUS: 89 case CS4265_INT_STATUS:
90 return 1; 90 return true;
91 default: 91 default:
92 return 0; 92 return false;
93 } 93 }
94} 94}
95 95