Re: [PATCH v2] cpufreq: pmac64: add of_node_put()

2018-12-11 Thread Rafael J. Wysocki
On Monday, November 26, 2018 7:02:26 AM CET Viresh Kumar wrote: > On 23-11-18, 08:33, Yangtao Li wrote: > > of_find_node_by_path() acquires a reference to the node > > returned by it and that reference needs to be dropped by its caller. > > g5_neo2_cpufreq_init() doesn't do that, so fix it. > > >

Re: [PATCH v2] cpufreq: pmac64: add of_node_put()

2018-11-25 Thread Viresh Kumar
On 23-11-18, 08:33, Yangtao Li wrote: > of_find_node_by_path() acquires a reference to the node > returned by it and that reference needs to be dropped by its caller. > g5_neo2_cpufreq_init() doesn't do that, so fix it. > > Signed-off-by: Yangtao Li > Acked-by: Viresh Kumar > --- > Changes in v2

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

2018-11-23 Thread Yangtao Li
of_find_node_by_path() acquires a reference to the node returned by it and that reference needs to be dropped by its caller. g5_neo2_cpufreq_init() doesn't do that, so fix it. Signed-off-by: Yangtao Li Acked-by: Viresh Kumar --- Changes in v2: -update changelog --- drivers/cpufreq/pmac64-cpufre