diff mbox

[10/16] ASoC: wm1250-ev1: Remove redundant OOM message

Message ID 1403258352-8210-10-git-send-email-sachin.kamat@samsung.com (mailing list archive)
State Accepted
Commit 611d7a7ba8678dfc2f597e8be6a1a6e4f2bdb8a4
Headers show

Commit Message

Sachin Kamat June 20, 2014, 9:59 a.m. UTC
Let memory subsystem handle the error logging.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
---
 sound/soc/codecs/wm1250-ev1.c |    1 -
 1 file changed, 1 deletion(-)

Comments

Charles Keepax June 20, 2014, 3 p.m. UTC | #1
On Fri, Jun 20, 2014 at 03:29:06PM +0530, Sachin Kamat wrote:
> Let memory subsystem handle the error logging.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
> ---

Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles
diff mbox

Patch

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;
 	}