Skip to content

Commit

Permalink
ASoC: isabelle: Remove regmap_exit()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
MR Swami Reddy authored and Mark Brown committed Jun 5, 2012
1 parent 2f989f7 commit 5eba8ec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sound/soc/codecs/isabelle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand Down

0 comments on commit 5eba8ec

Please sign in to comment.