ASoC: pcm179x: 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> Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:

committed by
Mark Brown

parent
7928b2cbe5
commit
db0a11d002
@@ -38,11 +38,6 @@ static int pcm179x_spi_probe(struct spi_device *spi)
|
||||
return pcm179x_common_init(&spi->dev, regmap);
|
||||
}
|
||||
|
||||
static int pcm179x_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
return pcm179x_common_exit(&spi->dev);
|
||||
}
|
||||
|
||||
static const struct of_device_id pcm179x_of_match[] = {
|
||||
{ .compatible = "ti,pcm1792a", },
|
||||
{ }
|
||||
@@ -62,7 +57,6 @@ static struct spi_driver pcm179x_spi_driver = {
|
||||
},
|
||||
.id_table = pcm179x_spi_ids,
|
||||
.probe = pcm179x_spi_probe,
|
||||
.remove = pcm179x_spi_remove,
|
||||
};
|
||||
|
||||
module_spi_driver(pcm179x_spi_driver);
|
||||
|
Reference in New Issue
Block a user