mirror of https://gitee.com/openkylin/linux.git
5b236d0fde
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:
|
||
---|---|---|
.. | ||
Makefile | ||
pinctrl-meson-gxbb.c | ||
pinctrl-meson.c | ||
pinctrl-meson.h | ||
pinctrl-meson8.c | ||
pinctrl-meson8b.c |