Re: [PATCH] of: remove the unnecessary of_node_put for of_parse_phandle_with_args()

2013-04-10 Thread Stephen Rothwell
Hi, On Wed, 10 Apr 2013 09:06:11 + Tang Yuantian-B29983 wrote: > > Yes, I already sent out the v2 patch. > Please see: http://patchwork.ozlabs.org/patch/235288/ Thanks. I should read all my email before replying to it :-) -- Cheers, Stephen Rothwells...@canb.auug.org.

RE: [PATCH] of: remove the unnecessary of_node_put for of_parse_phandle_with_args()

2013-04-10 Thread Tang Yuantian-B29983
b.herr...@calxeda.com > Subject: Re: [PATCH] of: remove the unnecessary of_node_put for > of_parse_phandle_with_args() > > Hi, > > On Tue, 9 Apr 2013 14:56:09 +0800 wrote: > > > > From: Tang Yuantian > > > > As the function itself says it is caller&#x

Re: [PATCH] of: remove the unnecessary of_node_put for of_parse_phandle_with_args()

2013-04-10 Thread Stephen Rothwell
Hi, On Tue, 9 Apr 2013 14:56:09 +0800 wrote: > > From: Tang Yuantian > > As the function itself says it is caller's responsibility to call the > of_node_put(). So, remove it on success to keep the reference count > correct. > > Signed-off-by: Tang Yuantian > --- > drivers/of/base.c | 3 ---