summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/adau1761-spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/adau1761-spi.c')
-rw-r--r--sound/soc/codecs/adau1761-spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/adau1761-spi.c b/sound/soc/codecs/adau1761-spi.c
index d9171245bd9f..a0b214be759a 100644
--- a/sound/soc/codecs/adau1761-spi.c
+++ b/sound/soc/codecs/adau1761-spi.c
@@ -48,7 +48,7 @@ static int adau1761_spi_probe(struct spi_device *spi)
static int adau1761_spi_remove(struct spi_device *spi)
{
- snd_soc_unregister_codec(&spi->dev);
+ adau17x1_remove(&spi->dev);
return 0;
}