Message ID | 1392627817-26957-8-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <patchwork-forward+bncBDM5LUP2XEPRBV5DQ6MAKGQEAJAWTTI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2158B202B2 for <linaro@patches.linaro.org>; Mon, 17 Feb 2014 09:09:43 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id m20sf29560091qcx.2 for <linaro@patches.linaro.org>; Mon, 17 Feb 2014 01:09:43 -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=7VdrziSpAQ+Dtkuwa5K4esjyUcKN45tqk1n6pYsVpOM=; b=SWFB5EzqZLmkIY9UjFwpiu9JWrbKJx3oXq7vPCo/tlzqbLygciFNfVbfaKrGy8D5jR flPyh53Dp6IMZHsknmt4KGZ+Rvzo6HhpDFVahO5EH9LABefamO9Xztk82l8c/o2P1Tku eLSIu4Ol/O79vy3AJZ5ZCAkv+RCS4T5s+XXrWSUOBXPwL5H2tRAhQOKM4GRT/247EQuE b+S/sTskYMKSiMM+jEmu65ch4FssNzm1tKkR4pxho5jACJXIEwG3pTOdhj+s5qS8no// QEBQErsFnOuO9lv1nicqf2ayKnCG7cYD+SiUq+3lnhd4Q6VuJX8tmdizAvPXXv6IDPVK HCOw== X-Gm-Message-State: ALoCoQn9ko/66mQQdUFHSF6ZOhY7EjEb18H+qLHLlnNst+tJ3siYGiUDvsqci5KWe1m0snMZtoWs X-Received: by 10.236.191.136 with SMTP id g8mr8003955yhn.48.1392628183289; Mon, 17 Feb 2014 01:09:43 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.109.101 with SMTP id k92ls768008qgf.78.gmail; Mon, 17 Feb 2014 01:09:43 -0800 (PST) X-Received: by 10.221.27.133 with SMTP id rq5mr9387026vcb.9.1392628183198; Mon, 17 Feb 2014 01:09:43 -0800 (PST) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id l16si4335153vcl.126.2014.02.17.01.09.43 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 01:09:43 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.173 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.173; Received: by mail-vc0-f173.google.com with SMTP id ld13so11630520vcb.32 for <patchwork-forward@linaro.org>; Mon, 17 Feb 2014 01:09:43 -0800 (PST) X-Received: by 10.52.61.133 with SMTP id p5mr13668855vdr.4.1392628183115; Mon, 17 Feb 2014 01:09:43 -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 u4csp122717vcz; Mon, 17 Feb 2014 01:09:42 -0800 (PST) X-Received: by 10.66.148.230 with SMTP id tv6mr2171503pab.155.1392628182308; Mon, 17 Feb 2014 01:09:42 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xf4si14108960pab.46.2014.02.17.01.09.41; Mon, 17 Feb 2014 01:09:41 -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 S1752572AbaBQJJZ (ORCPT <rfc822;linus.walleij@linaro.org> + 27 others); Mon, 17 Feb 2014 04:09:25 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:50387 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752463AbaBQJJV (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 17 Feb 2014 04:09:21 -0500 Received: by mail-pa0-f45.google.com with SMTP id lf10so14944352pab.18 for <linux-kernel@vger.kernel.org>; Mon, 17 Feb 2014 01:09:21 -0800 (PST) X-Received: by 10.66.121.234 with SMTP id ln10mr25295470pab.20.1392628161029; Mon, 17 Feb 2014 01:09:21 -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.18 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 01:09:20 -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 8/9] regulator: tps6507x: Add missing of_node_put Date: Mon, 17 Feb 2014 14:33:36 +0530 Message-Id: <1392627817-26957-8-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.173 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/tps6507x-regulator.c b/drivers/regulator/tps6507x-regulator.c index 5a558dad27e3..e506e7f54253 100644 --- a/drivers/regulator/tps6507x-regulator.c +++ b/drivers/regulator/tps6507x-regulator.c @@ -395,6 +395,7 @@ static struct tps6507x_board *tps6507x_parse_dt_reg_data( matches = tps6507x_matches; ret = of_regulator_match(&pdev->dev, regulators, matches, count); + of_node_put(regulators); if (ret < 0) { dev_err(&pdev->dev, "Error parsing regulator init data: %d\n", ret);
Add of_node_put to decrement the ref count. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/regulator/tps6507x-regulator.c | 1 + 1 file changed, 1 insertion(+)