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
@@ -39,11 +39,6 @@ static int pcm179x_i2c_probe(struct i2c_client *client,
|
||||
return pcm179x_common_init(&client->dev, regmap);
|
||||
}
|
||||
|
||||
static int pcm179x_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
return pcm179x_common_exit(&client->dev);
|
||||
}
|
||||
|
||||
static const struct of_device_id pcm179x_of_match[] = {
|
||||
{ .compatible = "ti,pcm1792a", },
|
||||
{ }
|
||||
@@ -63,7 +58,6 @@ static struct i2c_driver pcm179x_i2c_driver = {
|
||||
},
|
||||
.id_table = pcm179x_i2c_ids,
|
||||
.probe = pcm179x_i2c_probe,
|
||||
.remove = pcm179x_i2c_remove,
|
||||
};
|
||||
|
||||
module_i2c_driver(pcm179x_i2c_driver);
|
||||
|
Reference in New Issue
Block a user