Thread (2 messages) 2 messages, 2 authors, 2016-08-04

Re: [PATCH] pinctrl: pistachio: Drop pinctrl_unregister for devm_ registered device

From: Linus Walleij <hidden>
Date: 2016-08-04 08:11:31

On Tue, Jul 26, 2016 at 4:52 PM, Wei Yongjun [off-list ref] wrote:
It's not necessary to unregister pin controller device registered
with devm_pinctrl_register() and using pinctrl_unregister() leads
to a double free.

This is detected by Coccinelle semantic patch.

Signed-off-by: Wei Yongjun <redacted>
Patch applied for fixes.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help