Message ID | 1394445461-17532-2-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Commit | 991acaf629cb12774beb4662e6b3045504680779 |
Headers | show
Return-Path: <patchwork-forward+bncBDM5LUP2XEPRBDE462MAKGQE5JITNRI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D71C62054B for <linaro@patches.linaro.org>; Mon, 10 Mar 2014 10:03:56 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id j17sf27790371oag.10 for <linaro@patches.linaro.org>; Mon, 10 Mar 2014 03:03:56 -0700 (PDT) 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=1ZwWUP1+nIRuowPxEBWoLjUidtfqJ5lzdRrYlrNrlU0=; b=Qj8TAYFZPmgrzbCNsm1uCnqTDtiY4+NKBb3EKjME1YsH9u2xPEEG3HxKNrOIl2FbD4 c4MKAlfdDNaqq6zulHdfiqFczpiXKZcflGCcnEMcMbCMS8yKoBxDGCLUA2aOjj+RXQX+ vwsDx997RxW9Vt+/H713WO4+sCUkvzaseTyZAX1LuCiqIOv+pi8h+NTeMJwnQuoiUvkL +z1bz/DMdD3vyI6XTvljRDPR7bmCxAX+eNKHeeM0t5drYEAABJTBdeeBQ8m9HTMnvkl+ 70KBxaT35fvcUZ1mixMWiHkncN73KMaUjrOErtYMg5rWzqO/+KjfM595BlKYSJ6EcUVY X9Tg== X-Gm-Message-State: ALoCoQnpk4w/XyuiAhU0qFledtr+2SzVCYcf3oq7aK43Bpd0y3XxLkUbbPYoAkk68IHIPoHhfxcu X-Received: by 10.182.66.193 with SMTP id h1mr12816875obt.47.1394445836444; Mon, 10 Mar 2014 03:03:56 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.36.200 with SMTP id p66ls1996633qgp.74.gmail; Mon, 10 Mar 2014 03:03:56 -0700 (PDT) X-Received: by 10.221.55.133 with SMTP id vy5mr21852143vcb.17.1394445836268; Mon, 10 Mar 2014 03:03:56 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id io9si4540308vcb.62.2014.03.10.03.03.56 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Mar 2014 03:03:56 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.174 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.174; Received: by mail-ve0-f174.google.com with SMTP id oz11so6707359veb.5 for <patchwork-forward@linaro.org>; Mon, 10 Mar 2014 03:03:56 -0700 (PDT) X-Received: by 10.52.186.230 with SMTP id fn6mr22225615vdc.14.1394445836185; Mon, 10 Mar 2014 03:03:56 -0700 (PDT) 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.78.9 with SMTP id i9csp107521vck; Mon, 10 Mar 2014 03:03:55 -0700 (PDT) X-Received: by 10.66.232.7 with SMTP id tk7mr38637702pac.94.1394445835238; Mon, 10 Mar 2014 03:03:55 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e2si16285170pba.151.2014.03.10.03.03.54; Mon, 10 Mar 2014 03:03:54 -0700 (PDT) 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 S1753412AbaCJKDu (ORCPT <rfc822;linus.walleij@linaro.org> + 26 others); Mon, 10 Mar 2014 06:03:50 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:65306 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753388AbaCJKDr (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 10 Mar 2014 06:03:47 -0400 Received: by mail-pa0-f42.google.com with SMTP id fb1so7096628pad.29 for <linux-kernel@vger.kernel.org>; Mon, 10 Mar 2014 03:03:47 -0700 (PDT) X-Received: by 10.68.181.165 with SMTP id dx5mr4539786pbc.38.1394445827421; Mon, 10 Mar 2014 03:03:47 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id pe3sm63495738pbc.23.2014.03.10.03.03.45 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Mar 2014 03:03:46 -0700 (PDT) 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 Resend 2/2] regulator: s2mps11: Add missing of_node_put Date: Mon, 10 Mar 2014 15:27:41 +0530 Message-Id: <1394445461-17532-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1394445461-17532-1-git-send-email-sachin.kamat@linaro.org> References: <1394445461-17532-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.128.174 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/s2mps11.c b/drivers/regulator/s2mps11.c index 0f6177b..6eaf69b 100644 --- a/drivers/regulator/s2mps11.c +++ b/drivers/regulator/s2mps11.c @@ -446,6 +446,7 @@ static int s2mps11_pmic_probe(struct platform_device *pdev) } of_regulator_match(&pdev->dev, reg_np, rdata, s2mps11->rdev_num); + of_node_put(reg_np); common_reg: platform_set_drvdata(pdev, s2mps11);
Add of_node_put to decrement the ref count. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/regulator/s2mps11.c | 1 + 1 file changed, 1 insertion(+)