]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ASoC: wm1250-ev1: Remove redundant OOM message
authorSachin Kamat <sachin.kamat@samsung.com>
Fri, 20 Jun 2014 09:59:06 +0000 (15:29 +0530)
committerMark Brown <broonie@linaro.org>
Fri, 27 Jun 2014 11:48:23 +0000 (12:48 +0100)
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>
sound/soc/codecs/wm1250-ev1.c

index 6e6b93d4696ed9ec85e6502eb1c1a7cabc0fd63a..8011f75fb6cbd45b5328c9f238a61da1325b080b 100644 (file)
@@ -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;
        }