From patchwork Fri Apr 4 07:50:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 336869 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-ob0-x240.google.com (mail-ob0-x240.google.com [IPv6:2607:f8b0:4003:c01::240]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 7A89F1400AA for ; Fri, 4 Apr 2014 18:50:54 +1100 (EST) Received: by mail-ob0-f192.google.com with SMTP id wp4sf646564obc.19 for ; Fri, 04 Apr 2014 00:50:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type; bh=deKE0epKkv4THQAIrhWkGauLxTn/PEM8BAX2b7o3Hpk=; b=PE6SWhJKWfY6OUEuL/CbXRKTRR6hN03ptq3UKSSqYTwBOLMi3lkQcBnhqu7DlDIu5p Pa+VDixoPYIRurlTRmpo6Cy5Ef1ncatwoSk4JZOma3QcQubV1Hf0MpAtg9bPSh31wN15 81u5u3G8yeqpqavLE5X6zb/EUG8jSKkReczlhkWfZ02c3CIINxggmSu+9SKTz1TH9sV8 TVAtCaugfupZi0v5GKQ2mdVwPxPQQ680hMtlJjIQgVm0Q1ik9Sj9kcrvxmuvGHpDMc3/ G4BwBrCR4rfsylWnywi19f6/JDGDkl+Iz9/9mTzdNH5Pk4+MhPB+39jteCoCfIXFfkWH A6Ng== X-Received: by 10.140.29.226 with SMTP id b89mr9353qgb.25.1396597852033; Fri, 04 Apr 2014 00:50:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.140.105.100 with SMTP id b91ls960229qgf.26.gmail; Fri, 04 Apr 2014 00:50:51 -0700 (PDT) X-Received: by 10.58.39.202 with SMTP id r10mr2731751vek.12.1396597851777; Fri, 04 Apr 2014 00:50:51 -0700 (PDT) Received: from mailout3.w1.samsung.com (mailout3.w1.samsung.com. [210.118.77.13]) by gmr-mx.google.com with ESMTPS id bu7si1501185pad.0.2014.04.04.00.50.51 for (version=TLSv1 cipher=RC4-MD5 bits=128/128); Fri, 04 Apr 2014 00:50:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of k.kozlowski@samsung.com designates 210.118.77.13 as permitted sender) client-ip=210.118.77.13; Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N3H00CMJXSQSN10@mailout3.w1.samsung.com> for rtc-linux@googlegroups.com; Fri, 04 Apr 2014 08:50:50 +0100 (BST) X-AuditID: cbfec7f5-b7fc96d000004885-a5-533e6459b8b4 Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 89.C8.18565.9546E335; Fri, 04 Apr 2014 08:50:49 +0100 (BST) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync1.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N3H003A5XSMXH90@eusync1.samsung.com>; Fri, 04 Apr 2014 08:50:49 +0100 (BST) From: Krzysztof Kozlowski To: Alessandro Zummo , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [rtc-linux] [PATCH 2/2] rtc: 88pm860x: Add missing of_node_put Date: Fri, 04 Apr 2014 09:50:41 +0200 Message-id: <1396597841-2273-2-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1396597841-2273-1-git-send-email-k.kozlowski@samsung.com> References: <1396597841-2273-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLJMWRmVeSWpSXmKPExsVy+t/xy7qRKXbBBheW6VssuXiV3eL1C0OL y7vmsFns7+xgdGDx2DPxJJtH35ZVjB7T5/1k8vi8SS6AJYrLJiU1J7MstUjfLoErY8/7X4wF X1gqHl5eydrA2MfSxcjJISFgIvFyUyOULSZx4d56ti5GLg4hgaWMEvM+PGGFcPqYJN4uvsMM UsUmYCyxefkSNhBbRCBdYtG0K0wgNrOAocTPd3/YQWxhAWuJJX1/gWwODhYBVYn97yxATF4B N4lpX7lBTAkBBYk5k2xATE4Bd4kvX5RA+oSACs7N/ccygZF3ASPDKkbR1NLkguKk9FwjveLE 3OLSvHS95PzcTYyQIPm6g3HpMatDjAIcjEo8vBzptsFCrIllxZW5hxglOJiVRHj7Au2ChXhT EiurUovy44tKc1KLDzEycXBKNTA6C2xzuWDJP2XezqZ/a1If5FvoM85/ZCn2Vazx1W9ZxssP ynbZPZn845rs9QiDAOOWLsaqL/dyl4hrZ3LO5gu99SGiSkDtecVWx4utIlJNyQm3JllNtLFi f+cVv/O1Yvbjdx98mr122644fXBZoE2i2pndTSvFjn1d4XHXcGes9P6QCwf+X7qvxFKckWio xVxUnAgAkHZupvABAAA= X-Original-Sender: k.kozlowski@samsung.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of k.kozlowski@samsung.com designates 210.118.77.13 as permitted sender) smtp.mail=k.kozlowski@samsung.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , Add missing of_node_put to decremente the reference count. Signed-off-by: Krzysztof Kozlowski --- drivers/rtc/rtc-88pm860x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/rtc-88pm860x.c b/drivers/rtc/rtc-88pm860x.c index fb9e3c63b4ac..0c6add1a38dc 100644 --- a/drivers/rtc/rtc-88pm860x.c +++ b/drivers/rtc/rtc-88pm860x.c @@ -301,6 +301,7 @@ static int pm860x_rtc_dt_init(struct platform_device *pdev, ret = of_property_read_u32(np, "marvell,88pm860x-vrtc", &info->vrtc); if (ret) info->vrtc = 0; + of_node_put(np); return 0; } #else