aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/pcm512x-spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/pcm512x-spi.c')
-rw-r--r--sound/soc/codecs/pcm512x-spi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/pcm512x-spi.c b/sound/soc/codecs/pcm512x-spi.c
index 7cf559b47e1c..4d29e7196380 100644
--- a/sound/soc/codecs/pcm512x-spi.c
+++ b/sound/soc/codecs/pcm512x-spi.c
@@ -26,10 +26,9 @@ static int pcm512x_spi_probe(struct spi_device *spi)
return pcm512x_probe(&spi->dev, regmap);
}
-static int pcm512x_spi_remove(struct spi_device *spi)
+static void pcm512x_spi_remove(struct spi_device *spi)
{
pcm512x_remove(&spi->dev);
- return 0;
}
static const struct spi_device_id pcm512x_spi_id[] = {