提交 5eba8ec3 编写于 作者: M MR Swami Reddy 提交者: Mark Brown

ASoC: isabelle: Remove regmap_exit()

With devm_ APIs regmap_exit() not needed, so remove regmap_exit().
Signed-off-by: NVishwas A Deshpande <vishwas.a.deshpande@ti.com>
Signed-off-by: NM R Swami Reddy <mr.swami.reddy@ti.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 2f989f7e
......@@ -1141,7 +1141,6 @@ static int __devinit isabelle_i2c_probe(struct i2c_client *i2c,
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 __devinit isabelle_i2c_probe(struct i2c_client *i2c,
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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册