Message ID | 1392627817-26957-2-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <patchwork-forward+bncBDM5LUP2XEPRBQFDQ6MAKGQEU3PIFOQ@linaro.org> 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 84BB5202B2 for <linaro@patches.linaro.org>; Mon, 17 Feb 2014 09:09:21 +0000 (UTC) Received: by mail-pd0-f200.google.com with SMTP id y10sf33498542pdj.11 for <linaro@patches.linaro.org>; Mon, 17 Feb 2014 01:09:20 -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=P9G7FZnyIJ4i6NBvHewonoE5wrWm+fpNwOFsXTmzB3k=; b=Xkvs+TKE5WMD5SFsKohKlj8L/QBM2zjslmiYENoWcLXtIsSJV/v4HbUrRjBvyjWRX3 X3Qcj/hk9r7zoWQFGYcKX3oKG7R+nBxqcj72LfRISJeDMxRfkdoXupUhZ/kyjhK58y7f MuS3VIEaV/c3Bo4luEWtFjdj0b3qJy+7ap8Y2M8lnroFhDpbHfr0zY1T4vVP+yJOcTNj h3rJ0cg2Fl4OnPpojVoWji5HK7aaJSAR8kxMSjl4QWj9F9JThyH3PG8aZWRJQRfrpVGe W1psX9Te2GOC3DVpOrXv3R1tDiLln/1NJQB7WJmgoLd5p9UDaNR2/cYIlvbzqyzp3GFt 14+w== X-Gm-Message-State: ALoCoQmIwi8ilZbnpaPSU6GK3parowAsx94etPoYlARhjLXiHB3VMIACUvO9HOo8hdgwwPwkS0W3 X-Received: by 10.66.183.239 with SMTP id ep15mr9828719pac.7.1392628160787; Mon, 17 Feb 2014 01:09:20 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.98.161 with SMTP id o30ls863827qge.98.gmail; Mon, 17 Feb 2014 01:09:20 -0800 (PST) X-Received: by 10.220.92.135 with SMTP id r7mr16296600vcm.11.1392628160599; Mon, 17 Feb 2014 01:09:20 -0800 (PST) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id yb7si4352241vec.39.2014.02.17.01.09.20 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 01:09:20 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.177 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.177; Received: by mail-vc0-f177.google.com with SMTP id if11so11226276vcb.22 for <patchwork-forward@linaro.org>; Mon, 17 Feb 2014 01:09:20 -0800 (PST) X-Received: by 10.52.243.102 with SMTP id wx6mr13692585vdc.12.1392628160526; Mon, 17 Feb 2014 01:09:20 -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 u4csp122682vcz; Mon, 17 Feb 2014 01:09:20 -0800 (PST) X-Received: by 10.68.197.8 with SMTP id iq8mr25097254pbc.124.1392628159719; Mon, 17 Feb 2014 01:09:19 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d4si13871867pbj.11.2014.02.17.01.09.19; Mon, 17 Feb 2014 01:09:19 -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 S1752144AbaBQJJK (ORCPT <rfc822;linus.walleij@linaro.org> + 27 others); Mon, 17 Feb 2014 04:09:10 -0500 Received: from mail-pb0-f53.google.com ([209.85.160.53]:37912 "EHLO mail-pb0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751053AbaBQJJF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 17 Feb 2014 04:09:05 -0500 Received: by mail-pb0-f53.google.com with SMTP id md12so15040566pbc.12 for <linux-kernel@vger.kernel.org>; Mon, 17 Feb 2014 01:09:05 -0800 (PST) X-Received: by 10.66.139.196 with SMTP id ra4mr25393747pab.103.1392628145164; Mon, 17 Feb 2014 01:09:05 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ug2sm112608647pac.21.2014.02.17.01.09.02 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 01:09:04 -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 2/9] regulator: as3722: Add missing of_node_put Date: Mon, 17 Feb 2014 14:33:30 +0530 Message-Id: <1392627817-26957-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1392627817-26957-1-git-send-email-sachin.kamat@linaro.org> References: <1392627817-26957-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.177 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/as3722-regulator.c b/drivers/regulator/as3722-regulator.c index 8b17d786cb71..85585219ce82 100644 --- a/drivers/regulator/as3722-regulator.c +++ b/drivers/regulator/as3722-regulator.c @@ -719,6 +719,7 @@ static int as3722_get_regulator_dt_data(struct platform_device *pdev, ret = of_regulator_match(&pdev->dev, np, as3722_regulator_matches, ARRAY_SIZE(as3722_regulator_matches)); + of_node_put(np); if (ret < 0) { dev_err(&pdev->dev, "Parsing of regulator node failed: %d\n", ret);
Add of_node_put to decrement the ref count. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/regulator/as3722-regulator.c | 1 + 1 file changed, 1 insertion(+)