ASoC: max9867: Drop probe function

Driver probe function has no use and can be deleted.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Ladislav Michl 2018-03-02 14:11:00 +01:00 committed by Mark Brown
parent 6f0a45c6d4
commit b3e9c3f0d9
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
2 changed files with 0 additions and 11 deletions

View File

@ -413,17 +413,7 @@ static int max9867_resume(struct device *dev)
}
#endif
static int max9867_probe(struct snd_soc_component *component)
{
struct max9867_priv *max9867 = snd_soc_component_get_drvdata(component);
dev_dbg(component->dev, "max98090_probe\n");
max9867->component = component;
return 0;
}
static const struct snd_soc_component_driver max9867_component = {
.probe = max9867_probe,
.controls = max9867_snd_controls,
.num_controls = ARRAY_SIZE(max9867_snd_controls),
.dapm_routes = max9867_audio_map,

View File

@ -75,7 +75,6 @@
/* codec private data */
struct max9867_priv {
struct regmap *regmap;
struct snd_soc_component *component;
unsigned int sysclk;
unsigned int pclk;
unsigned int master;