Message ID | 1392627817-26957-9-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <patchwork-forward+bncBDM5LUP2XEPRBY5DQ6MAKGQE5ET6F7A@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 997B2202B2 for <linaro@patches.linaro.org>; Mon, 17 Feb 2014 09:09:56 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id c14sf33134144vea.11 for <linaro@patches.linaro.org>; Mon, 17 Feb 2014 01:09:55 -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=Yb+dCmg2o4pIQ2ins46yln7YB4PKZO7GCRaIDPb+RV8=; b=ZEljaDi8U4xS79theU8pESYHcEb4uz2oUW99JjOzceNi1AdeE15vRGN8/kLEjo3nU7 /R3NWXy3C3j1MGMPtB5l6DCykzmJhgjrs9p9l0UGtzBHDuLnpxzM/cslTD/vowXYSzld UEhwSZaFYYUTu0KJikwm7AgvFwyuTzpvxfKc6eosqfgO5FNvfRsxbZpslBIdY+X455DQ D3QR1OY0EFb8wnXB4wTZ16azrR+DQKJ8JkmffFhyBCE+JCS3AJyAtQF3K5Md487C/mB6 j3Ka6YxQ/GvytI78Zmnia/PsUDxYpcQC5vo6bMP5ewsoDtIeLUfNPJ9wQFPCKxK8CMLd eyUA== X-Gm-Message-State: ALoCoQk40r9q/Lmwn+XIq4jlA8BEC6zI0sZoY2e8U00dmsccfbImItODRurzb4vc6DIbb1vDQZMp X-Received: by 10.224.55.19 with SMTP id s19mr9734254qag.0.1392628195733; Mon, 17 Feb 2014 01:09:55 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.98.69 with SMTP id n63ls752576qge.96.gmail; Mon, 17 Feb 2014 01:09:55 -0800 (PST) X-Received: by 10.52.188.41 with SMTP id fx9mr13588501vdc.19.1392628195615; Mon, 17 Feb 2014 01:09:55 -0800 (PST) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id kl10si4331638vdb.90.2014.02.17.01.09.55 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 01:09:55 -0800 (PST) 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 pa12so11936940veb.33 for <patchwork-forward@linaro.org>; Mon, 17 Feb 2014 01:09:55 -0800 (PST) X-Received: by 10.220.103.141 with SMTP id k13mr12028326vco.25.1392628195531; Mon, 17 Feb 2014 01:09:55 -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 u4csp122728vcz; Mon, 17 Feb 2014 01:09:55 -0800 (PST) X-Received: by 10.68.96.99 with SMTP id dr3mr25389612pbb.40.1392628194766; Mon, 17 Feb 2014 01:09:54 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rx8si14096139pac.76.2014.02.17.01.09.54; Mon, 17 Feb 2014 01:09:54 -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 S1752680AbaBQJJn (ORCPT <rfc822;linus.walleij@linaro.org> + 27 others); Mon, 17 Feb 2014 04:09:43 -0500 Received: from mail-pb0-f50.google.com ([209.85.160.50]:48303 "EHLO mail-pb0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751074AbaBQJJY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 17 Feb 2014 04:09:24 -0500 Received: by mail-pb0-f50.google.com with SMTP id rq2so15193573pbb.9 for <linux-kernel@vger.kernel.org>; Mon, 17 Feb 2014 01:09:23 -0800 (PST) X-Received: by 10.68.130.169 with SMTP id of9mr25250413pbb.79.1392628163520; Mon, 17 Feb 2014 01:09:23 -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.21 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 01:09:22 -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 9/9] regulator: tps65090: Add missing of_node_put Date: Mon, 17 Feb 2014 14:33:37 +0530 Message-Id: <1392627817-26957-9-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.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/tps65090-regulator.c b/drivers/regulator/tps65090-regulator.c index 676f75548f00..5674f886c471 100644 --- a/drivers/regulator/tps65090-regulator.c +++ b/drivers/regulator/tps65090-regulator.c @@ -188,6 +188,7 @@ static struct tps65090_platform_data *tps65090_parse_dt_reg_data( ret = of_regulator_match(&pdev->dev, regulators, tps65090_matches, ARRAY_SIZE(tps65090_matches)); + 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/tps65090-regulator.c | 1 + 1 file changed, 1 insertion(+)