projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d1311b
)
ASoC: cs42l56: use true/false returns for bool functions
author
Brian Austin
<brian.austin@cirrus.com>
Thu, 28 Aug 2014 15:02:42 +0000
(10:02 -0500)
committer
Mark Brown
<broonie@linaro.org>
Thu, 28 Aug 2014 18:05:10 +0000
(19:05 +0100)
Return true or false instead of 1 and 0
Signed-off-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/cs42l56.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/cs42l56.c
b/sound/soc/codecs/cs42l56.c
index
c766a5a
..
b1c7396
100644
(file)
--- 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
;
}
}