Message ID | 1392627817-26957-1-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <patchwork-forward+bncBDM5LUP2XEPRBPVFQ6MAKGQEFVUJNVY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f197.google.com (mail-ob0-f197.google.com [209.85.214.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B9AD7202B2 for <linaro@patches.linaro.org>; Mon, 17 Feb 2014 09:13:35 +0000 (UTC) Received: by mail-ob0-f197.google.com with SMTP id gq1sf57914161obb.4 for <linaro@patches.linaro.org>; Mon, 17 Feb 2014 01:13:34 -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:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=VsQYAjEa13WLZv4ZL8CLkK4osz3GqSJzI4M8v0fbVsQ=; b=LqADcXuBHZbaYHdpoYOM2gwv7ojPjwTkh8kS6+WXzP8sI2UkYIj6D/gTVkZfcO9fXA v62ZSlWC7wOALJLKX2UV55deHEK4ziVdlfXkDcEfEiSg1e/Dq6qf7JIbsrhta0c/H8Ab +n1xVMswcZ21VHB4ACeILPJPCSq6bOpRWiJ7d1hGJOnaDRrLWaxAB844f/w940yQcp/1 8FSUMSZDJOdXS2NmZJfy7tFBQfG6aTnmn3OTfs+SA+Wbgn/HbMNN9Ds53xpkYmMNHgis sLb27tI27PFhPqf4Mhec3rdNipqjANmSOtypeo5NW8bb5Sr9/msuHsfJEp2KtBEt49hx cnwQ== X-Gm-Message-State: ALoCoQlkGoGYlHkY9Zw/7sToeKCQw+NHUMjs68PGSzrhX7hmns3yONkbvQx3Mvq0NU8d3nhRzBht X-Received: by 10.182.112.231 with SMTP id it7mr9739853obb.22.1392628414863; Mon, 17 Feb 2014 01:13:34 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.34.235 with SMTP id l98ls899671qgl.90.gmail; Mon, 17 Feb 2014 01:13:34 -0800 (PST) X-Received: by 10.220.67.18 with SMTP id p18mr16379421vci.14.1392628414761; Mon, 17 Feb 2014 01:13:34 -0800 (PST) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id kp12si4354081vcb.16.2014.02.17.01.13.34 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 01:13:34 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.181 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.181; Received: by mail-ve0-f181.google.com with SMTP id cz12so12022482veb.12 for <patchwork-forward@linaro.org>; Mon, 17 Feb 2014 01:13:34 -0800 (PST) X-Received: by 10.52.104.68 with SMTP id gc4mr13558054vdb.2.1392628414697; Mon, 17 Feb 2014 01:13:34 -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 u4csp122982vcz; Mon, 17 Feb 2014 01:13:34 -0800 (PST) X-Received: by 10.66.149.37 with SMTP id tx5mr24953977pab.81.1392628413916; Mon, 17 Feb 2014 01:13:33 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cb2si11275594pbb.184.2014.02.17.01.13.33; Mon, 17 Feb 2014 01:13:33 -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 S1751954AbaBQJJI (ORCPT <rfc822;linus.walleij@linaro.org> + 27 others); Mon, 17 Feb 2014 04:09:08 -0500 Received: from mail-pd0-f171.google.com ([209.85.192.171]:41538 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750951AbaBQJJD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 17 Feb 2014 04:09:03 -0500 Received: by mail-pd0-f171.google.com with SMTP id g10so14569586pdj.16 for <linux-kernel@vger.kernel.org>; Mon, 17 Feb 2014 01:09:02 -0800 (PST) X-Received: by 10.68.172.37 with SMTP id az5mr7259229pbc.139.1392628142466; Mon, 17 Feb 2014 01:09:02 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ug2sm112608647pac.21.2014.02.17.01.08.59 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 01:09:01 -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 1/9] regulator: act8865: Add missing of_node_put Date: Mon, 17 Feb 2014 14:33:29 +0530 Message-Id: <1392627817-26957-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 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.181 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/act8865-regulator.c b/drivers/regulator/act8865-regulator.c index c9f98b061307..2d2c3b004ab7 100644 --- a/drivers/regulator/act8865-regulator.c +++ b/drivers/regulator/act8865-regulator.c @@ -221,6 +221,7 @@ static int act8865_pdata_from_dt(struct device *dev, matched = of_regulator_match(dev, np, act8865_matches, ARRAY_SIZE(act8865_matches)); + of_node_put(np); if (matched <= 0) return matched;
Add of_node_put to decrement the ref count. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/regulator/act8865-regulator.c | 1 + 1 file changed, 1 insertion(+)