ASoC: Fix partial cherry pick in wm8993
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 15 Dec 2011 03:54:00 +0000 (11:54 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 15 Dec 2011 03:54:00 +0000 (11:54 +0800)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8993.c

index 2835e7d5d60be059802cf659fedb09ea5fd125ac..2b40c93601ed493a11bf0222dd5ba0c09754355b 100644 (file)
@@ -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;