projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2b49ae
)
ASoC: cs42l56: Remove unneeded regulator_bulk_free call in cs42l56_remove
author
Axel Lin
<
[email protected]
>
Thu, 28 Aug 2014 09:55:20 +0000
(17:55 +0800)
committer
Mark Brown
<
[email protected]
>
Thu, 28 Aug 2014 18:07:15 +0000
(19:07 +0100)
The regulator_bulk_free() call is not required because current code is using
devm_regulator_bulk_get().
Signed-off-by: Axel Lin <
[email protected]
>
Acked-by: Brian Austin <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/cs42l56.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/cs42l56.c
b/sound/soc/codecs/cs42l56.c
index b1c7396c80c85dd8948cdd1ceb74eb6de478facc..bb74dd17fa2669317e4c6f72878592ee2daad13e 100644
(file)
--- a/
sound/soc/codecs/cs42l56.c
+++ b/
sound/soc/codecs/cs42l56.c
@@
-1175,11
+1175,8
@@
static int cs42l56_probe(struct snd_soc_codec *codec)
static int cs42l56_remove(struct snd_soc_codec *codec)
{
- struct cs42l56_private *cs42l56 = snd_soc_codec_get_drvdata(codec);
-
cs42l56_free_beep(codec);
cs42l56_set_bias_level(codec, SND_SOC_BIAS_OFF);
- regulator_bulk_free(ARRAY_SIZE(cs42l56->supplies), cs42l56->supplies);
return 0;
}