summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/pcm186x-spi.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2018-03-28 10:26:19 +0800
committerMark Brown <broonie@kernel.org>2018-03-28 10:26:19 +0800
commit5bb93a335ddf83e6a946fb9c715a617c0853ba9a (patch)
treeedd31aede50b91a40bdee34d8b35a9ef985570e6 /sound/soc/codecs/pcm186x-spi.c
parent8f7b85a71407719814eefc759e46729ea6f4d2de (diff)
parentc044cfdaf26866d5d31cb715d24fb75bf93ef703 (diff)
Merge remote-tracking branch 'asoc/topic/pcm186x' into asoc-next
Diffstat (limited to 'sound/soc/codecs/pcm186x-spi.c')
-rw-r--r--sound/soc/codecs/pcm186x-spi.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/codecs/pcm186x-spi.c b/sound/soc/codecs/pcm186x-spi.c
index 2366f8e4d4d4..b56e19827497 100644
--- a/sound/soc/codecs/pcm186x-spi.c
+++ b/sound/soc/codecs/pcm186x-spi.c
@@ -36,13 +36,6 @@ static int pcm186x_spi_probe(struct spi_device *spi)
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[] = {
{ "pcm1862", PCM1862 },
{ "pcm1863", PCM1863 },
@@ -54,7 +47,6 @@ MODULE_DEVICE_TABLE(spi, pcm186x_spi_id);
static struct spi_driver pcm186x_spi_driver = {
.probe = pcm186x_spi_probe,
- .remove = pcm186x_spi_remove,
.id_table = pcm186x_spi_id,
.driver = {
.name = "pcm186x",