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

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

Patch to fix the below warning message:
sound/soc/codecs/isabelle.c:1126: warning: 'isabelle_regmap' is used uninitialized in this function

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 bcc77ef..a2efe1a 100644
--- a/sound/soc/codecs/isabelle.c
+++ b/sound/soc/codecs/isabelle.c
@@ -1126,8 +1126,6 @@ static int __devinit isabelle_i2c_probe(struct i2c_client *i2c,
 	struct regmap *isabelle_regmap;
 	int ret = 0;
 
-	i2c_set_clientdata(i2c, isabelle_regmap);
-
 	isabelle_regmap = devm_regmap_init_i2c(i2c, &isabelle_regmap_config);
 	if (IS_ERR(isabelle_regmap)) {
 		ret = PTR_ERR(isabelle_regmap);

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

end of thread, other threads:[~2012-06-08  9:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-05 14:41 [PATCH] ASoC:isabelle:Fix warning message MR.Swami.Reddy
2012-06-07 23:47 ` Mark Brown
2012-06-08  9:31   ` 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.