projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f66a91f
)
ASoC: da732x: Remove unused codec field form da732x_priv struct
author
Lars-Peter Clausen
<lars@metafoo.de>
Tue, 9 Sep 2014 18:42:44 +0000
(20:42 +0200)
committer
Mark Brown
<broonie@linaro.org>
Tue, 9 Sep 2014 20:08:46 +0000
(21:08 +0100)
The field is initialized in the probe callback, but never used again. So it
can be removed.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/da732x.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/da732x.c
b/sound/soc/codecs/da732x.c
index edcbfeafc8cb7693853a15e2ec57fab648149127..c28cf339f066375157d37ef89b3151d961f0c09c 100644
(file)
--- a/
sound/soc/codecs/da732x.c
+++ b/
sound/soc/codecs/da732x.c
@@
-35,7
+35,6
@@
struct da732x_priv {
struct regmap *regmap;
- struct snd_soc_codec *codec;
unsigned int sysclk;
bool pll_en;
@@
-1512,8
+1511,6
@@
static int da732x_probe(struct snd_soc_codec *codec)
{
struct da732x_priv *da732x = snd_soc_codec_get_drvdata(codec);
- da732x->codec = codec;
-
da732x_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
return 0;