Commit ec641c45 authored by Mark Brown's avatar Mark Brown

ASoC: Fix partial cherry pick in wm8993

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 27f478a6
...@@ -1591,7 +1591,7 @@ static __devinit int wm8993_i2c_probe(struct i2c_client *i2c, ...@@ -1591,7 +1591,7 @@ static __devinit int wm8993_i2c_probe(struct i2c_client *i2c,
struct wm8993_priv *wm8993; struct wm8993_priv *wm8993;
int ret; int ret;
wm8993 = devm_kzalloc(&i2c-dev, sizeof(struct wm8993_priv), wm8993 = devm_kzalloc(&i2c->dev, sizeof(struct wm8993_priv),
GFP_KERNEL); GFP_KERNEL);
if (wm8993 == NULL) if (wm8993 == NULL)
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment