projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d1311b
)
ASoC: cs42l52: use true/false returns for bool functions
author
Brian Austin
<brian.austin@cirrus.com>
Thu, 28 Aug 2014 15:02:41 +0000
(10:02 -0500)
committer
Mark Brown
<broonie@linaro.org>
Thu, 28 Aug 2014 18:04:53 +0000
(19:04 +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/cs42l52.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/cs42l52.c
b/sound/soc/codecs/cs42l52.c
index
969167d
..
da4f758
100644
(file)
--- a/
sound/soc/codecs/cs42l52.c
+++ b/
sound/soc/codecs/cs42l52.c
@@
-176,9
+176,9
@@
static bool cs42l52_volatile_register(struct device *dev, unsigned int reg)
case CS42L52_BATT_LEVEL:
case CS42L52_SPK_STATUS:
case CS42L52_CHARGE_PUMP:
- return
1
;
+ return
true
;
default:
- return
0
;
+ return
false
;
}
}