ASoC: max9867: Drop probe function
PATCH v2 1/1 ASoC: max9867: Drop probe function
Driver probe function has no use and can be deleted.
Signed-off-by Ladislav Michl <[email protected]>
---
Changes:
- v2: Rebased against Mark's current tree
Mark,
is this what you asked for? It does not make much sense to me as you have to redo the work I wanted to save you...
sound/soc/codecs/max9867.c | 10 ---------- sound/soc/codecs/max9867.h | 1 - 2 files changed, 11 deletions(-)
sound/soc/codecs/max9867.c +0 -10
@@ -404,17 +404,7 @@ static int max9867_resume(struct device *dev) }#endif -static int max9867_probe (struct snd_soc_codec *codec) -{ -struct max9867_priv *max9867 =snd_soc_codec_get_drvdata (codec); - -dev_dbg (codec->dev,"max98090_probe\n" ); - max9867->codec = codec; -return 0 ; -} -static const struct snd_soc_codec_driver max9867_codec = { - .probe = max9867_probe, .component_driver = { .controls = max9867_snd_controls, .num_controls =ARRAY_SIZE (max9867_snd_controls),
sound/soc/codecs/max9867.h +0 -1
@@ -75,7 +75,6 @@/* codec private data */ struct max9867_priv {struct regmap *regmap; -struct snd_soc_codec *codec;unsigned int sysclk;unsigned int pclk;unsigned int master;
Signature · 1 line
2.16.2
Mark Brown
maintainerQuoted 11 lines · Ladislav Michl
Driver probe function has no use and can be deleted.
Signed-off-by Ladislav Michl <[email protected]>---
Changes:
- v2: Rebased against Mark's current treeMark,
is this what you asked for? It does not make much sense to me as you have to redo the work I wanted to save you...
No, this doesn't apply - please resend what you originally sent.