summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/adau1781-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/adau1781-i2c.c')
-rw-r--r--sound/soc/codecs/adau1781-i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/adau1781-i2c.c b/sound/soc/codecs/adau1781-i2c.c
index 06cbca84cf02..7b9d1802d159 100644
--- a/sound/soc/codecs/adau1781-i2c.c
+++ b/sound/soc/codecs/adau1781-i2c.c
@@ -31,7 +31,7 @@ static int adau1781_i2c_probe(struct i2c_client *client,
static int adau1781_i2c_remove(struct i2c_client *client)
{
- snd_soc_unregister_codec(&client->dev);
+ adau17x1_remove(&client->dev);
return 0;
}