linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jingoo Han <jg1.han@samsung.com>
To: "'Krzysztof Kozlowski'" <k.kozlowski@samsung.com>
Cc: "'Alessandro Zummo'" <a.zummo@towertech.it>,
	rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org,
	"'Andrew Morton'" <akpm@linux-foundation.org>,
	"'Haojian Zhuang'" <haojian.zhuang@linaro.org>,
	"'Sachin Kamat'" <sachin.kamat@linaro.org>,
	"'Jingoo Han'" <jg1.han@samsung.com>
Subject: Re: [PATCH RESEND 2/2] rtc: 88pm860x: Add missing of_node_put
Date: Wed, 23 Apr 2014 22:29:08 +0900	[thread overview]
Message-ID: <000d01cf5ef8$01405f50$03c11df0$%han@samsung.com> (raw)
In-Reply-To: <1398256168-493-2-git-send-email-k.kozlowski@samsung.com>

On Wednesday, April 23, 2014 9:29 PM, Krzysztof Kozlowski wrote:
> 
> Add missing of_node_put to decrement the reference count.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

Reviewed-by: Jingoo Han <jg1.han@samsung.com>

Best regards,
Jingoo Han

> ---
>  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
> --
> 1.9.1


  reply	other threads:[~2014-04-23 13:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-23 12:29 [PATCH RESEND 1/2] rtc: 88pm860x: Use of_get_child_by_name Krzysztof Kozlowski
2014-04-23 12:29 ` [PATCH RESEND 2/2] rtc: 88pm860x: Add missing of_node_put Krzysztof Kozlowski
2014-04-23 13:29   ` Jingoo Han [this message]
2014-04-23 12:57 ` [PATCH RESEND 1/2] rtc: 88pm860x: Use of_get_child_by_name Jingoo Han
2014-04-23 20:14 ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000d01cf5ef8$01405f50$03c11df0$%han@samsung.com' \
    --to=jg1.han@samsung.com \
    --cc=a.zummo@towertech.it \
    --cc=akpm@linux-foundation.org \
    --cc=haojian.zhuang@linaro.org \
    --cc=k.kozlowski@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rtc-linux@googlegroups.com \
    --cc=sachin.kamat@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).