Skip to content

Commit

Permalink
ASoC: Fix partial cherry pick in wm8993
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Dec 15, 2011
1 parent 27f478a commit ec641c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm8993.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ec641c4

Please sign in to comment.