[PATCH -next] PM / devfreq: exynos-ppmu: remove unneeded of_node_put()
Rafael J. Wysocki
rafael at kernel.org
Mon Jul 11 06:08:33 PDT 2016
On Mon, Jul 11, 2016 at 4:19 AM, MyungJoo Ham <myungjoo.ham at samsung.com> wrote:
> On Fri, Jul 8, 2016 at 10:44 PM, <weiyj_lk at 163.com> wrote:
>> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
>>
>> for_each_child_of_node() performs an of_node_put() on each iteration, so
>> putting an of_node_put() before a continue results in a double put.
>>
>> Generated by: scripts/coccinelle/iterators/device_node_continue.cocci
>>
>> Signed-off-by: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
>
> Thank you!
>
> Signed-off-by: MyungJoo Ham <myungjoo.ham at samsung.com>
Do you want me to apply this one directly?
Thanks,
Rafael
More information about the linux-arm-kernel
mailing list