Message ID | 1392291307-21104-2-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <patchwork-forward+bncBDM5LUP2XEPRBQW66KLQKGQEYXOPHFY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f199.google.com (mail-ob0-f199.google.com [209.85.214.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8CD47203BE for <linaro@patches.linaro.org>; Thu, 13 Feb 2014 11:40:51 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id vb8sf39776637obc.6 for <linaro@patches.linaro.org>; Thu, 13 Feb 2014 03:40:50 -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=D96h8R4NwEiTy1s9lyAhm4bakGcnYjDKa88lkSQkIgo=; b=LN8j6piggpykWG58f4vjePDwFY0c4I2D9/XHnCYlMBOXcYj6OSJTzPacXYi3pQWttJ NpwqhcbiSB637c7SXd9AZTnUBVW4yNgoCxX1Ko/dPWo/Qm46skbH+mgsX2owlVrFDKAO WWb/4eeNjSDIlDSnAEv3iz3WoowTDVJdoc56aTBA2MZQUeNHGX47XSZOc+4PJUjhBdXq pTb7palY8uaOXCzQczaekwb48WAV/4lRApbxZRL8N8lywVMTyLSSUik3JspWfY3HW3KL 6vH0gOrhLQzQ7e3jaBi1IUfS6ubf2knuxu5ll9ZXcc9JXqULqFfwKeu29FsldqLOYTkb r6Pw== X-Gm-Message-State: ALoCoQmCCMDNOj7wWxMXMLSAuj0fRgY+T0Y+ODHsuX/21BvQzjjYyPsI8giL2rl5hYTl/E4yFiWB X-Received: by 10.182.65.168 with SMTP id y8mr332324obs.38.1392291650691; Thu, 13 Feb 2014 03:40:50 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.107.228 with SMTP id h91ls2548524qgf.76.gmail; Thu, 13 Feb 2014 03:40:50 -0800 (PST) X-Received: by 10.221.26.10 with SMTP id rk10mr674875vcb.0.1392291650594; Thu, 13 Feb 2014 03:40:50 -0800 (PST) Received: from mail-vb0-f52.google.com (mail-vb0-f52.google.com [209.85.212.52]) by mx.google.com with ESMTPS id uo10si561831vec.56.2014.02.13.03.40.50 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Feb 2014 03:40:50 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.52 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.52; Received: by mail-vb0-f52.google.com with SMTP id p14so7841337vbm.25 for <patchwork-forward@linaro.org>; Thu, 13 Feb 2014 03:40:50 -0800 (PST) X-Received: by 10.52.109.193 with SMTP id hu1mr533909vdb.11.1392291650500; Thu, 13 Feb 2014 03:40:50 -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 u4csp18740vcz; Thu, 13 Feb 2014 03:40:50 -0800 (PST) X-Received: by 10.68.37.42 with SMTP id v10mr1063429pbj.127.1392291649660; Thu, 13 Feb 2014 03:40:49 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id vb2si1784211pbc.247.2014.02.13.03.40.49; Thu, 13 Feb 2014 03:40:49 -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 S1754528AbaBMLkb (ORCPT <rfc822;linus.walleij@linaro.org> + 27 others); Thu, 13 Feb 2014 06:40:31 -0500 Received: from mail-pb0-f48.google.com ([209.85.160.48]:59827 "EHLO mail-pb0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754373AbaBMLk3 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 13 Feb 2014 06:40:29 -0500 Received: by mail-pb0-f48.google.com with SMTP id rr13so10649386pbb.21 for <linux-kernel@vger.kernel.org>; Thu, 13 Feb 2014 03:40:28 -0800 (PST) X-Received: by 10.68.87.98 with SMTP id w2mr1295606pbz.2.1392291628865; Thu, 13 Feb 2014 03:40:28 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id j3sm5620573pbh.38.2014.02.13.03.40.26 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Feb 2014 03:40:28 -0800 (PST) From: Sachin Kamat <sachin.kamat@linaro.org> To: linux-kernel@vger.kernel.org Cc: broonie@kernel.org, lgirdwood@gmail.com, sbkim73@samsung.com, sachin.kamat@linaro.org Subject: [PATCH 2/2] regulator: s5m8767: Add missing of_node_put Date: Thu, 13 Feb 2014 17:05:07 +0530 Message-Id: <1392291307-21104-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1392291307-21104-1-git-send-email-sachin.kamat@linaro.org> References: <1392291307-21104-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.212.52 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/s5m8767.c b/drivers/regulator/s5m8767.c index 40de16802681..4c356b872e6b 100644 --- a/drivers/regulator/s5m8767.c +++ b/drivers/regulator/s5m8767.c @@ -659,6 +659,8 @@ static int s5m8767_pmic_dt_parse_pdata(struct platform_device *pdev, rmode++; } + of_node_put(regulators_np); + if (of_get_property(pmic_np, "s5m8767,pmic-buck2-uses-gpio-dvs", NULL)) { pdata->buck2_gpiodvs = true;
Add of_node_put to decrement the ref count. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/regulator/s5m8767.c | 2 ++ 1 file changed, 2 insertions(+)