diff options
author | MR Swami Reddy <MR.Swami.Reddy@ti.com> | 2012-06-04 08:14:54 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-05 05:42:58 -0400 |
commit | 5eba8ec37fe8cfed4cacff56f9025b756cc43faa (patch) | |
tree | 0fc5a43fa9643b42885c693ac2846590c14abfc7 /sound/soc/codecs/isabelle.c | |
parent | 2f989f7e9f5f9ba97535fa58f4240ec250d6b2df (diff) |
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>
Diffstat (limited to 'sound/soc/codecs/isabelle.c')
-rw-r--r-- | sound/soc/codecs/isabelle.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/isabelle.c b/sound/soc/codecs/isabelle.c index b6921a82fbcc..bcc77ef0eda2 100644 --- a/sound/soc/codecs/isabelle.c +++ b/sound/soc/codecs/isabelle.c | |||
@@ -1141,7 +1141,6 @@ static int __devinit isabelle_i2c_probe(struct i2c_client *i2c, | |||
1141 | ARRAY_SIZE(isabelle_dai)); | 1141 | ARRAY_SIZE(isabelle_dai)); |
1142 | if (ret < 0) { | 1142 | if (ret < 0) { |
1143 | dev_err(&i2c->dev, "Failed to register codec: %d\n", ret); | 1143 | dev_err(&i2c->dev, "Failed to register codec: %d\n", ret); |
1144 | regmap_exit(dev_get_regmap(&i2c->dev, NULL)); | ||
1145 | return ret; | 1144 | return ret; |
1146 | } | 1145 | } |
1147 | 1146 | ||
@@ -1151,7 +1150,6 @@ static int __devinit isabelle_i2c_probe(struct i2c_client *i2c, | |||
1151 | static int __devexit isabelle_i2c_remove(struct i2c_client *client) | 1150 | static int __devexit isabelle_i2c_remove(struct i2c_client *client) |
1152 | { | 1151 | { |
1153 | snd_soc_unregister_codec(&client->dev); | 1152 | snd_soc_unregister_codec(&client->dev); |
1154 | regmap_exit(dev_get_regmap(&client->dev, NULL)); | ||
1155 | return 0; | 1153 | return 0; |
1156 | } | 1154 | } |
1157 | 1155 | ||