diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-14 22:54:00 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-14 22:54:00 -0500 |
commit | ec641c459048f30e378e1386ba9eff1f7ada522f (patch) | |
tree | 8a260cebbcd9555ed643b981ce585063e9e027a8 /sound | |
parent | 27f478a65ff7b67b843250f0a2d1e8b306bf57b6 (diff) |
ASoC: Fix partial cherry pick in wm8993
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wm8993.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8993.c b/sound/soc/codecs/wm8993.c index 2835e7d5d60b..2b40c93601ed 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, | |||
1591 | struct wm8993_priv *wm8993; | 1591 | struct wm8993_priv *wm8993; |
1592 | int ret; | 1592 | int ret; |
1593 | 1593 | ||
1594 | wm8993 = devm_kzalloc(&i2c-dev, sizeof(struct wm8993_priv), | 1594 | wm8993 = devm_kzalloc(&i2c->dev, sizeof(struct wm8993_priv), |
1595 | GFP_KERNEL); | 1595 | GFP_KERNEL); |
1596 | if (wm8993 == NULL) | 1596 | if (wm8993 == NULL) |
1597 | return -ENOMEM; | 1597 | return -ENOMEM; |