diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-07-26 14:51:58 +0000 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-08-10 15:45:54 +0200 |
commit | 5b236d0fde21d88351420ef0b9a6cb7aeeea0c54 (patch) | |
tree | d808608d2d9c7b73c4d080594105e4e7e4146cec /Documentation | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) |
pinctrl: meson: Drop pinctrl_unregister for devm_ registered device
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 <weiyj.lk@gmail.com>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions