commit | ec641c459048f30e378e1386ba9eff1f7ada522f | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Thu Dec 15 11:54:00 2011 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Thu Dec 15 11:54:00 2011 +0800 |
tree | 8a260cebbcd9555ed643b981ce585063e9e027a8 | |
parent | 27f478a65ff7b67b843250f0a2d1e8b306bf57b6 [diff] |
ASoC: Fix partial cherry pick in wm8993 Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
diff --git a/sound/soc/codecs/wm8993.c b/sound/soc/codecs/wm8993.c index 2835e7d..2b40c93 100644 --- a/sound/soc/codecs/wm8993.c +++ b/sound/soc/codecs/wm8993.c
@@ -1591,7 +1591,7 @@ 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;