summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8804-spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm8804-spi.c')
-rw-r--r--sound/soc/codecs/wm8804-spi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8804-spi.c b/sound/soc/codecs/wm8804-spi.c
index 9a8da1511c34..628568724c20 100644
--- a/sound/soc/codecs/wm8804-spi.c
+++ b/sound/soc/codecs/wm8804-spi.c
@@ -24,10 +24,9 @@ static int wm8804_spi_probe(struct spi_device *spi)
return wm8804_probe(&spi->dev, regmap);
}
-static int wm8804_spi_remove(struct spi_device *spi)
+static void wm8804_spi_remove(struct spi_device *spi)
{
wm8804_remove(&spi->dev);
- return 0;
}
static const struct of_device_id wm8804_of_match[] = {