Commit 5bb93a33 authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branch 'asoc/topic/pcm186x' into asoc-next

parents 8f7b85a7 c044cfda
...@@ -36,13 +36,6 @@ static int pcm186x_i2c_probe(struct i2c_client *i2c, ...@@ -36,13 +36,6 @@ static int pcm186x_i2c_probe(struct i2c_client *i2c,
return pcm186x_probe(&i2c->dev, type, irq, regmap); return pcm186x_probe(&i2c->dev, type, irq, regmap);
} }
static int pcm186x_i2c_remove(struct i2c_client *i2c)
{
pcm186x_remove(&i2c->dev);
return 0;
}
static const struct i2c_device_id pcm186x_i2c_id[] = { static const struct i2c_device_id pcm186x_i2c_id[] = {
{ "pcm1862", PCM1862 }, { "pcm1862", PCM1862 },
{ "pcm1863", PCM1863 }, { "pcm1863", PCM1863 },
...@@ -54,7 +47,6 @@ MODULE_DEVICE_TABLE(i2c, pcm186x_i2c_id); ...@@ -54,7 +47,6 @@ MODULE_DEVICE_TABLE(i2c, pcm186x_i2c_id);
static struct i2c_driver pcm186x_i2c_driver = { static struct i2c_driver pcm186x_i2c_driver = {
.probe = pcm186x_i2c_probe, .probe = pcm186x_i2c_probe,
.remove = pcm186x_i2c_remove,
.id_table = pcm186x_i2c_id, .id_table = pcm186x_i2c_id,
.driver = { .driver = {
.name = "pcm186x", .name = "pcm186x",
......
...@@ -36,13 +36,6 @@ static int pcm186x_spi_probe(struct spi_device *spi) ...@@ -36,13 +36,6 @@ static int pcm186x_spi_probe(struct spi_device *spi)
return pcm186x_probe(&spi->dev, type, irq, regmap); return pcm186x_probe(&spi->dev, type, irq, regmap);
} }
static int pcm186x_spi_remove(struct spi_device *spi)
{
pcm186x_remove(&spi->dev);
return 0;
}
static const struct spi_device_id pcm186x_spi_id[] = { static const struct spi_device_id pcm186x_spi_id[] = {
{ "pcm1862", PCM1862 }, { "pcm1862", PCM1862 },
{ "pcm1863", PCM1863 }, { "pcm1863", PCM1863 },
...@@ -54,7 +47,6 @@ MODULE_DEVICE_TABLE(spi, pcm186x_spi_id); ...@@ -54,7 +47,6 @@ MODULE_DEVICE_TABLE(spi, pcm186x_spi_id);
static struct spi_driver pcm186x_spi_driver = { static struct spi_driver pcm186x_spi_driver = {
.probe = pcm186x_spi_probe, .probe = pcm186x_spi_probe,
.remove = pcm186x_spi_remove,
.id_table = pcm186x_spi_id, .id_table = pcm186x_spi_id,
.driver = { .driver = {
.name = "pcm186x", .name = "pcm186x",
......
This diff is collapsed.
...@@ -215,6 +215,5 @@ extern const struct regmap_config pcm186x_regmap; ...@@ -215,6 +215,5 @@ extern const struct regmap_config pcm186x_regmap;
int pcm186x_probe(struct device *dev, enum pcm186x_type type, int irq, int pcm186x_probe(struct device *dev, enum pcm186x_type type, int irq,
struct regmap *regmap); struct regmap *regmap);
int pcm186x_remove(struct device *dev);
#endif /* _PCM186X_H_ */ #endif /* _PCM186X_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment