ASoC: adau1977: 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 = 1 -> .idle_bias_on = 0 .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
f305fe81ab
@@ -46,12 +46,6 @@ static int adau1977_spi_probe(struct spi_device *spi)
|
||||
id->driver_data, adau1977_spi_switch_mode);
|
||||
}
|
||||
|
||||
static int adau1977_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static const struct spi_device_id adau1977_spi_ids[] = {
|
||||
{ "adau1977", ADAU1977 },
|
||||
{ "adau1978", ADAU1978 },
|
||||
@@ -65,7 +59,6 @@ static struct spi_driver adau1977_spi_driver = {
|
||||
.name = "adau1977",
|
||||
},
|
||||
.probe = adau1977_spi_probe,
|
||||
.remove = adau1977_spi_remove,
|
||||
.id_table = adau1977_spi_ids,
|
||||
};
|
||||
module_spi_driver(adau1977_spi_driver);
|
||||
|
Reference in New Issue
Block a user