From patchwork Thu Feb 20 08:53:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 24981 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f200.google.com (mail-pd0-f200.google.com [209.85.192.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 51E8920AE6 for ; Thu, 20 Feb 2014 08:59:46 +0000 (UTC) Received: by mail-pd0-f200.google.com with SMTP id y10sf3672984pdj.7 for ; Thu, 20 Feb 2014 00:59:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=c1OCFhrH3M1RrrJiawStxw0WhMzOJZaEKTkmTJkm8Hc=; b=X2pL79mTw43WfXhoY5ijB4RfZIoXQV79Eg3HKKeCW9oHX/XbLN0WPNRvY38i+vVLM3 Kch7SgSsTqI5/ixSQW7lCRR/tZy84FyTvKI2bx8G6FyanrtbXasMNpYNmo5CHSPYw6qS ZhTGJxqm1ohvvVGyg5pkAtGBAmY+nVTA/RQ/NDH6LjKCwN41AbgA0Q0qekE9sWfztPLs WEg3dTMbfFCFD7RLz+3bAfm1wA6/PiTuzcqqBvnPPWYfwZmsHUNQBAPHdHSzHCEqvq6q EHdqYT5TMmMBd7XDn8BuuoyzzVP8gXTMR3TPeDIDhkFFNEwevqjyrq2h+EHMDGoRozcL Pm0A== X-Gm-Message-State: ALoCoQmBKny7GvYcCe+GKMqnfBu5oZkPJqNqvyUl1x6K/MUoQGn2bcQwjt/PXE21ulUyr6GUqC/h X-Received: by 10.66.145.105 with SMTP id st9mr260936pab.23.1392886785504; Thu, 20 Feb 2014 00:59:45 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.25.33 with SMTP id 30ls448765qgs.22.gmail; Thu, 20 Feb 2014 00:59:45 -0800 (PST) X-Received: by 10.236.132.74 with SMTP id n50mr1258324yhi.20.1392886785393; Thu, 20 Feb 2014 00:59:45 -0800 (PST) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id z7si3054881yhj.17.2014.02.20.00.59.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Feb 2014 00:59:45 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id c14so1560671vea.34 for ; Thu, 20 Feb 2014 00:59:45 -0800 (PST) X-Received: by 10.220.81.71 with SMTP id w7mr289879vck.71.1392886785195; Thu, 20 Feb 2014 00:59:45 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp40759vcz; Thu, 20 Feb 2014 00:59:44 -0800 (PST) X-Received: by 10.68.129.234 with SMTP id nz10mr822864pbb.16.1392886784417; Thu, 20 Feb 2014 00:59:44 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tt8si2682990pbc.190.2014.02.20.00.59.42; Thu, 20 Feb 2014 00:59:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754774AbaBTI7U (ORCPT + 26 others); Thu, 20 Feb 2014 03:59:20 -0500 Received: from mail-pa0-f51.google.com ([209.85.220.51]:64907 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753955AbaBTI7R (ORCPT ); Thu, 20 Feb 2014 03:59:17 -0500 Received: by mail-pa0-f51.google.com with SMTP id ld10so1642089pab.38 for ; Thu, 20 Feb 2014 00:59:17 -0800 (PST) X-Received: by 10.68.92.98 with SMTP id cl2mr632538pbb.81.1392886757173; Thu, 20 Feb 2014 00:59:17 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id eo11sm21100112pac.0.2014.02.20.00.59.14 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Feb 2014 00:59:16 -0800 (PST) From: Sachin Kamat To: linux-kernel@vger.kernel.org Cc: broonie@kernel.org, lgirdwood@gmail.com, sachin.kamat@linaro.org Subject: [PATCH 09/23] regulator: max8997: Remove redundant error message Date: Thu, 20 Feb 2014 14:23:09 +0530 Message-Id: <1392886403-10640-9-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1392886403-10640-1-git-send-email-sachin.kamat@linaro.org> References: <1392886403-10640-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , kzalloc prints its own OOM message upon failure. Signed-off-by: Sachin Kamat --- drivers/regulator/max8997.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/regulator/max8997.c b/drivers/regulator/max8997.c index 10108f2941e3..f657d8db9c0c 100644 --- a/drivers/regulator/max8997.c +++ b/drivers/regulator/max8997.c @@ -937,7 +937,6 @@ static int max8997_pmic_dt_parse_pdata(struct platform_device *pdev, pdata->num_regulators, GFP_KERNEL); if (!rdata) { of_node_put(regulators_np); - dev_err(&pdev->dev, "could not allocate memory for regulator data\n"); return -ENOMEM; }