summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm1250-ev1.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@samsung.com>2014-06-20 13:59:06 +0400
committerMark Brown <broonie@linaro.org>2014-06-27 15:48:23 +0400
commit611d7a7ba8678dfc2f597e8be6a1a6e4f2bdb8a4 (patch)
tree487be14abc1fd2702388dda324259e0344c1807f /sound/soc/codecs/wm1250-ev1.c
parent84cbc75f9a72d646701ec4fb4accdfdc5f6f3ea2 (diff)
downloadlinux-611d7a7ba8678dfc2f597e8be6a1a6e4f2bdb8a4.tar.xz
ASoC: wm1250-ev1: Remove redundant OOM message
Let memory subsystem handle the error logging. Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/wm1250-ev1.c')
-rw-r--r--sound/soc/codecs/wm1250-ev1.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm1250-ev1.c b/sound/soc/codecs/wm1250-ev1.c
index 6e6b93d4696e..8011f75fb6cb 100644
--- a/sound/soc/codecs/wm1250-ev1.c
+++ b/sound/soc/codecs/wm1250-ev1.c
@@ -164,7 +164,6 @@ static int wm1250_ev1_pdata(struct i2c_client *i2c)
wm1250 = devm_kzalloc(&i2c->dev, sizeof(*wm1250), GFP_KERNEL);
if (!wm1250) {
- dev_err(&i2c->dev, "Unable to allocate private data\n");
ret = -ENOMEM;
goto err;
}