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