From patchwork Thu Feb 20 08:53: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: 24996 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D68942066E for ; Thu, 20 Feb 2014 09:07:48 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id i4sf5050008oah.11 for ; Thu, 20 Feb 2014 01:07:48 -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=7CYM5VCPFfufY2ma6NlJoisxsLAvlh+2zeQc91AV42c=; b=HSH7BHCSY41sqDBssYd87qXi+zkGBBWzjp7KPm07UKfvfQ8mZV3l9vf3HpSi4AgXI6 cI0lsLNrTN5N97Z/Mtc5Aet967GCI5l+rF5eByXq/95T7uxHHPAoeSwPsXQh++0z+ogk sw1yiWC4qGitYXJd9HJ19Esx/4GAh2b8SMrsZ32bdjaV9+zhoBPAMo/YqJ3K+R63WhSG 5NXIqps4gCC8kZjVOGB5AiTBKWuimWZQdvI3a3rNoLH24K9Pz6DnaXgCXzYvv3d71Sbe cM5kWze54fR73ZD2YfrTni0Cs96j+hagk2gE71eJIv3lza/DKIjrAx3xey4qPq1c6j5d THTw== X-Gm-Message-State: ALoCoQkKjkw8g2b1gp+blSU/bdxK2hE9mgPrsaVmoNcaIqvnM4Q9sgWt0HpKIcrjnoIYeMi3b6do X-Received: by 10.182.95.68 with SMTP id di4mr311411obb.4.1392887268338; Thu, 20 Feb 2014 01:07:48 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.91.110 with SMTP id y101ls461541qgd.0.gmail; Thu, 20 Feb 2014 01:07:48 -0800 (PST) X-Received: by 10.221.46.65 with SMTP id un1mr314610vcb.67.1392887268173; Thu, 20 Feb 2014 01:07:48 -0800 (PST) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id eo4si1212327vdb.30.2014.02.20.01.07.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Feb 2014 01:07:48 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.178 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.178; Received: by mail-ve0-f178.google.com with SMTP id oy12so1578024veb.37 for ; Thu, 20 Feb 2014 01:07:48 -0800 (PST) X-Received: by 10.52.164.39 with SMTP id yn7mr287103vdb.25.1392887268112; Thu, 20 Feb 2014 01:07:48 -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 u4csp41300vcz; Thu, 20 Feb 2014 01:07:47 -0800 (PST) X-Received: by 10.66.248.9 with SMTP id yi9mr676757pac.73.1392887267143; Thu, 20 Feb 2014 01:07:47 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i9si2609074pbl.148.2014.02.20.01.07.46; Thu, 20 Feb 2014 01:07:46 -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 S1754247AbaBTI7O (ORCPT + 26 others); Thu, 20 Feb 2014 03:59:14 -0500 Received: from mail-pd0-f177.google.com ([209.85.192.177]:46743 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754638AbaBTI7L (ORCPT ); Thu, 20 Feb 2014 03:59:11 -0500 Received: by mail-pd0-f177.google.com with SMTP id x10so1545619pdj.22 for ; Thu, 20 Feb 2014 00:59:09 -0800 (PST) X-Received: by 10.68.37.42 with SMTP id v10mr605389pbj.127.1392886749124; Thu, 20 Feb 2014 00:59:09 -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.06 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Feb 2014 00:59:08 -0800 (PST) From: Sachin Kamat To: linux-kernel@vger.kernel.org Cc: broonie@kernel.org, lgirdwood@gmail.com, sachin.kamat@linaro.org Subject: [PATCH 06/23] regulator: max77686: Remove redundant error message Date: Thu, 20 Feb 2014 14:23:06 +0530 Message-Id: <1392886403-10640-6-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.178 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/max77686.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/regulator/max77686.c b/drivers/regulator/max77686.c index b411af00065d..de020adf0568 100644 --- a/drivers/regulator/max77686.c +++ b/drivers/regulator/max77686.c @@ -410,8 +410,6 @@ static int max77686_pmic_dt_parse_pdata(struct platform_device *pdev, rdata = devm_kzalloc(&pdev->dev, sizeof(*rdata) * pdata->num_regulators, GFP_KERNEL); if (!rdata) { - dev_err(&pdev->dev, - "could not allocate memory for regulator data\n"); of_node_put(regulators_np); return -ENOMEM; }