ASoC: isabelle: Remove regmap_exit()
With devm_ APIs regmap_exit() not needed, so remove regmap_exit().
Signed-off-by: Vishwas A Deshpande <vishwas.a.deshpande@ti.com>
Signed-off-by: M R Swami Reddy <mr.swami.reddy@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
diff --git a/sound/soc/codecs/isabelle.c b/sound/soc/codecs/isabelle.c
index b6921a8..bcc77ef 100644
--- a/sound/soc/codecs/isabelle.c
+++ b/sound/soc/codecs/isabelle.c
@@ -1141,7 +1141,6 @@
ARRAY_SIZE(isabelle_dai));
if (ret < 0) {
dev_err(&i2c->dev, "Failed to register codec: %d\n", ret);
- regmap_exit(dev_get_regmap(&i2c->dev, NULL));
return ret;
}
@@ -1151,7 +1150,6 @@
static int __devexit isabelle_i2c_remove(struct i2c_client *client)
{
snd_soc_unregister_codec(&client->dev);
- regmap_exit(dev_get_regmap(&client->dev, NULL));
return 0;
}