Tag: b120a3c286520ca465c54e8afa442be10560053b

pinctrl: pistachio: Drop pinctrl_unregister for devm_ registered device

Author: Wei Yongjun <weiyj.lk@gmail.com> 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 Signed-off-by: Linus Walleij — drivers/pinctrl/pinctrl-pistachio.c | 9 +——– 1 file changed, 1 insertion(+), 8 deletions(-)   diff –git a/drivers/pinctrl/pinctrl-pistachio.c b/drivers/pinctrl/pinctrl-pistachio.c index c6d410e..7bad200 …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.