From patchwork Fri Jun 20 09:59:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4387781 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E4E07BEEAA for ; Fri, 20 Jun 2014 10:11:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 35C5E2039D for ; Fri, 20 Jun 2014 10:11:24 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 1454F20259 for ; Fri, 20 Jun 2014 10:11:23 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id E998C2654F1; Fri, 20 Jun 2014 12:11:21 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id B96E0265197; Fri, 20 Jun 2014 12:05:27 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id B011C2651E4; Fri, 20 Jun 2014 12:05:26 +0200 (CEST) Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by alsa0.perex.cz (Postfix) with ESMTP id AD4C0265050 for ; Fri, 20 Jun 2014 12:02:53 +0200 (CEST) Received: by mail-pd0-f173.google.com with SMTP id r10so2819568pdi.4 for ; Fri, 20 Jun 2014 03:02:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=VPDByhrLm3EMM2DcAjvgzih592mqCdSw8BsBExtVwEI=; b=Us8Hyz4jrK3QQajTBy38dQNpEWAfKkYMjApe7FTfb8o6H40uTwshqvvdHXNiixZXhE NRbZdZ7bhogktiHOPuzVffcnbPHXt4Ia46XDSYvbaFbtHVlonFNR/lx001rMJBJf3Zxt 5goQl59xrhD3kUC0b/A1DYNC2St05okcxZ+KAfPqzS3KZqOFBPEcvlCO3TUrgptNHiC2 s/IOKjFkj0RR0i9s0ZatI2WlUCgkDzvDlRE3ZaKm3azoewqPe8nx7sq6ZJZ1+l7Npgxu 42yTNTtQkCqVKK2HrOQLYTHfdiNhQzztjvj0V+rilZflYn2pjHc1oWktEeIzSq1MEKHv xYQw== X-Received: by 10.66.231.40 with SMTP id td8mr3247951pac.103.1403258572901; Fri, 20 Jun 2014 03:02:52 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id ha10sm12718305pbd.1.2014.06.20.03.02.49 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 20 Jun 2014 03:02:51 -0700 (PDT) From: Sachin Kamat To: alsa-devel@alsa-project.org Date: Fri, 20 Jun 2014 15:29:06 +0530 Message-Id: <1403258352-8210-10-git-send-email-sachin.kamat@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1403258352-8210-1-git-send-email-sachin.kamat@samsung.com> References: <1403258352-8210-1-git-send-email-sachin.kamat@samsung.com> Cc: broonie@kernel.org, spk.linux@gmail.com, lgirdwood@gmail.com Subject: [alsa-devel] [PATCH 10/16] ASoC: wm1250-ev1: Remove redundant OOM message X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Let memory subsystem handle the error logging. Signed-off-by: Sachin Kamat Acked-by: Charles Keepax --- sound/soc/codecs/wm1250-ev1.c | 1 - 1 file changed, 1 deletion(-) 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; }