Skip to contentSkip to conversation

ASoC:isabelle:Remove regmap_exit()

PATCH Applied [email protected] 2 participants 3 messages Jun 4, 2012 – Jun 6, 2012

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 1/1 ASoC:isabelle:Remove regmap_exit()

From: MR Swami Reddy <[email protected]>

ASoC:isabelle:With devm_ APIs regmap_exit() not needed, so remove regmap_exit().

---
 sound/soc/codecs/isabelle.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
sound/soc/codecs/isabelle.c +0 -2
index 69228ec..bcc77ef 100644
@@ -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;
 }
 
Applied
#1 lore raw
Quoted 3 lines · On Mon, Jun 04, 2012 at 05:44:54PM +0530, [email protected] wrote:

From: MR Swami Reddy <[email protected]>

ASoC:isabelle:With devm_ APIs regmap_exit() not needed, so remove regmap_exit().

Applied, but please use a changelog style appropriate for the subsystem!

author maintainer
#2 lore raw
Quoted 5 lines · Mark Brown
Quoted 3 lines · On Mon, Jun 04, 2012 at 05:44:54PM +0530, [email protected] wrote:

From: MR Swami Reddy <[email protected]>

ASoC:isabelle:With devm_ APIs regmap_exit() not needed, so remove regmap_exit().

Applied, but please use a changelog style appropriate for the subsystem!

Thank you. Will take-care the changelog style appropriately in upcoming patches.

Thanks
Swami