All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC:isabelle:Remove regmap_exit()
@ 2012-06-04 12:14 MR.Swami.Reddy
  2012-06-04 14:35 ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: MR.Swami.Reddy @ 2012-06-04 12:14 UTC (permalink / raw)
  To: broonie, lrg, alsa-devel
  Cc: vishwas.a.deshpande, M, MR Swami Reddy, Swami Reddy

From: MR Swami Reddy <MR.Swami.Reddy@ti.com>

ASoC:isabelle: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>
---
 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 69228ec..bcc77ef 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,
 				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;
 }
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-06  8:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-04 12:14 [PATCH] ASoC:isabelle:Remove regmap_exit() MR.Swami.Reddy
2012-06-04 14:35 ` Mark Brown
2012-06-06  8:59   ` MR Swami Reddy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.