ASoC: ad193x: 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>
This commit is contained in:

committed by
Mark Brown

parent
7928b2cbe5
commit
89cea5c9a9
@@ -29,12 +29,6 @@ static int ad193x_spi_probe(struct spi_device *spi)
|
||||
(enum ad193x_type)id->driver_data);
|
||||
}
|
||||
|
||||
static int ad193x_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static const struct spi_device_id ad193x_spi_id[] = {
|
||||
{ "ad193x", AD193X },
|
||||
{ "ad1933", AD1933 },
|
||||
@@ -51,7 +45,6 @@ static struct spi_driver ad193x_spi_driver = {
|
||||
.name = "ad193x",
|
||||
},
|
||||
.probe = ad193x_spi_probe,
|
||||
.remove = ad193x_spi_remove,
|
||||
.id_table = ad193x_spi_id,
|
||||
};
|
||||
module_spi_driver(ad193x_spi_driver);
|
||||
|
Reference in New Issue
Block a user