diff --git a/sound/soc/codecs/wm8993.c b/sound/soc/codecs/wm8993.c index 2835e7d5d60be059802cf659fedb09ea5fd125ac..2b40c93601ed493a11bf0222dd5ba0c09754355b 100644 --- a/sound/soc/codecs/wm8993.c +++ b/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;