Browse Source

ASoC: Fix partial cherry pick in wm8993

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown 13 years ago
parent
commit
ec641c4590
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/soc/codecs/wm8993.c

+ 1 - 1
sound/soc/codecs/wm8993.c

@@ -1591,7 +1591,7 @@ static __devinit int wm8993_i2c_probe(struct i2c_client *i2c,
 	struct wm8993_priv *wm8993;
 	int ret;
 
-	wm8993 = devm_kzalloc(&i2c-dev, sizeof(struct wm8993_priv),
+	wm8993 = devm_kzalloc(&i2c->dev, sizeof(struct wm8993_priv),
 			      GFP_KERNEL);
 	if (wm8993 == NULL)
 		return -ENOMEM;