[PATCH -next] PM / devfreq: exynos-ppmu: remove unneeded of_node_put()
MyungJoo Ham
myungjoo.ham at gmail.com
Tue Jul 12 01:23:31 PDT 2016
On Mon, Jul 11, 2016 at 10:08 PM, Rafael J. Wysocki <rafael at kernel.org> wrote:
> 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?
Sure, if you would do that, it'd be great.
Thank you.
Cheers,
MyungJoo
--
MyungJoo Ham, Ph.D.
S/W R&D Center, Samsung Electronics
More information about the linux-arm-kernel
mailing list