Tag: 5b236d0fde21d88351420ef0b9a6cb7aeeea0c54

pinctrl: meson: 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. Fixes: e649f7ec8c5f (“pinctrl: meson: Use devm_pinctrl_register() for pinctrl registration”) Signed-off-by: Wei Yongjun Reviewed-by: Dmitry Torokhov Acked-by: Kevin Hilman Signed-off-by: Linus Walleij — drivers/pinctrl/meson/pinctrl-meson.c | 8 …

Continue reading