ASoC: es8328: replace codec to component
Now we can replace Codec to Component. Let's do it. Note: xxx_codec_xxx() -> xxx_component_xxx() .idle_bias_off = 0 -> .idle_bias_on = 1 .ignore_pmdown_time = 0 -> .use_pmdown_time = 1 - -> .endianness = 1 - -> .non_legacy_dai_naming = 1 Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Этот коммит содержится в:

коммит произвёл
Mark Brown

родитель
7928b2cbe5
Коммит
da4ce56071
@@ -28,19 +28,12 @@ static int es8328_spi_probe(struct spi_device *spi)
|
||||
devm_regmap_init_spi(spi, &es8328_regmap_config));
|
||||
}
|
||||
|
||||
static int es8328_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct spi_driver es8328_spi_driver = {
|
||||
.driver = {
|
||||
.name = "es8328",
|
||||
.of_match_table = es8328_of_match,
|
||||
},
|
||||
.probe = es8328_spi_probe,
|
||||
.remove = es8328_spi_remove,
|
||||
};
|
||||
|
||||
module_spi_driver(es8328_spi_driver);
|
||||
|
Ссылка в новой задаче
Block a user