Message ID | 1392720071-13503-11-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <patchwork-forward+bncBDM5LUP2XEPRBYXURSMAKGQEIJKYZLA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f199.google.com (mail-ie0-f199.google.com [209.85.223.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E2B86203C5 for <linaro@patches.linaro.org>; Tue, 18 Feb 2014 10:48:03 +0000 (UTC) Received: by mail-ie0-f199.google.com with SMTP id rl12sf7913487iec.6 for <linaro@patches.linaro.org>; Tue, 18 Feb 2014 02:48:03 -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=GmkF/Q3n4z2bmfzktWu0b5d4/sJCFlEfDtalAm7mVig=; b=TcOSUbkK9hCKct+0VjG0zadZ9MM92fexMUMokpz3o2vp2YmLOp0Suxkek0IhzYWwDv DIByps7IGyj1CxgFNSURK77sa/vnofUq7U8tzTm1kO3Ps5yx1UtfH3J2DtPMD3CoKUpD L6nTs1XQKRx3frfvwmzEX1iYRDF4k3AwuQtlwcwVK6s2azmsRsZp3LtX/KgOu2Kx1sU5 2xlDa3oPuySABDSTVTwbArUoweg07UobnItCZbxdeLsH6dAZ7tdaYoeJkdPnMkmYYXv8 ov8D9A6iWVtlqmPPOyXNo5cTlIk5KyIznCc8/MyDanBkuhq9BBpxc1lB+n3HaTaCvJb/ RJTw== X-Gm-Message-State: ALoCoQnY20cKmCBc0Zy08LYZ8CywTEgBBDScPFsJSJ3afHqEZL+ap2qdekzdaWguAxQFTcsR7nDW X-Received: by 10.182.116.39 with SMTP id jt7mr12107620obb.33.1392720482866; Tue, 18 Feb 2014 02:48:02 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.94.129 with SMTP id g1ls1201501qge.69.gmail; Tue, 18 Feb 2014 02:48:02 -0800 (PST) X-Received: by 10.220.48.194 with SMTP id s2mr1557416vcf.43.1392720482790; Tue, 18 Feb 2014 02:48:02 -0800 (PST) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id yj2si5376586veb.123.2014.02.18.02.48.02 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Feb 2014 02:48:02 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id lh14so13150258vcb.10 for <patchwork-forward@linaro.org>; Tue, 18 Feb 2014 02:48:02 -0800 (PST) X-Received: by 10.220.2.199 with SMTP id 7mr20614915vck.4.1392720482708; Tue, 18 Feb 2014 02:48:02 -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 u4csp207239vcz; Tue, 18 Feb 2014 02:48:02 -0800 (PST) X-Received: by 10.66.251.42 with SMTP id zh10mr32618266pac.84.1392720481924; Tue, 18 Feb 2014 02:48:01 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l8si17842790paa.344.2014.02.18.02.48.01; Tue, 18 Feb 2014 02:48:01 -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 S1755165AbaBRKrV (ORCPT <rfc822;linus.walleij@linaro.org> + 27 others); Tue, 18 Feb 2014 05:47:21 -0500 Received: from mail-pd0-f173.google.com ([209.85.192.173]:43318 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755072AbaBRKrS (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 18 Feb 2014 05:47:18 -0500 Received: by mail-pd0-f173.google.com with SMTP id y10so16032449pdj.18 for <linux-kernel@vger.kernel.org>; Tue, 18 Feb 2014 02:47:17 -0800 (PST) X-Received: by 10.68.203.225 with SMTP id kt1mr32407163pbc.130.1392720437913; Tue, 18 Feb 2014 02:47:17 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id gj9sm5442084pbc.7.2014.02.18.02.47.14 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Feb 2014 02:47:17 -0800 (PST) From: Sachin Kamat <sachin.kamat@linaro.org> To: linux-kernel@vger.kernel.org Cc: broonie@kernel.org, lgirdwood@gmail.com, sachin.kamat@linaro.org Subject: [PATCH 11/15] regulator: 88pm800: Remove redundant error message Date: Tue, 18 Feb 2014 16:11:07 +0530 Message-Id: <1392720071-13503-11-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1392720071-13503-1-git-send-email-sachin.kamat@linaro.org> References: <1392720071-13503-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> 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.220.179 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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/regulator/88pm800.c b/drivers/regulator/88pm800.c index d333f7eac106..7a721d67e6ac 100644 --- a/drivers/regulator/88pm800.c +++ b/drivers/regulator/88pm800.c @@ -310,10 +310,8 @@ static int pm800_regulator_probe(struct platform_device *pdev) pm800_data = devm_kzalloc(&pdev->dev, sizeof(*pm800_data), GFP_KERNEL); - if (!pm800_data) { - dev_err(&pdev->dev, "Failed to allocate pm800_regualtors"); + if (!pm800_data) return -ENOMEM; - } pm800_data->map = chip->subchip->regmap_power; pm800_data->chip = chip;
kzalloc prints its own OOM message upon failure. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/regulator/88pm800.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)