[PATCH v2] cpufreq: powernv: add of_node_put()

Frank Lee tiny.windzz at gmail.com
Tue Nov 27 00:00:23 AEDT 2018


On Wed, Nov 21, 2018 at 12:02 PM Viresh Kumar <viresh.kumar at linaro.org> wrote:
>
> On 20-11-18, 11:05, Yangtao Li wrote:
> > The of_find_node_by_path() returns a node pointer with refcount
> > incremented,but there is the lack of use of the of_node_put() when
> > done.Add the missing of_node_put() to release the refcount.
> >
> > Signed-off-by: Yangtao Li <tiny.windzz at gmail.com>
> > ---
> > Changes in v2
> > -update changelog
> > ---
> >  drivers/cpufreq/powernv-cpufreq.c | 17 +++++++++++------
> >  1 file changed, 11 insertions(+), 6 deletions(-)
>
> Acked-by: Viresh Kumar <viresh.kumar at linaro.org>
>
> --
> viresh
Hi Gautham:

Can you add your Reviewed-by here?

Thanks,
Yangtao


More information about the Linuxppc-dev mailing list