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>
This commit is contained in:
parent
84cbc75f9a
commit
611d7a7ba8
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue