linux_old1/drivers/pinctrl/meson
Wei Yongjun 5b236d0fde 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: e649f7ec8c ("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>
2016-08-10 15:45:54 +02:00
..
Makefile pinctrl: amlogic: Add support for Amlogic Meson GXBB SoC 2016-05-11 10:47:11 +02:00
pinctrl-meson-gxbb.c pinctrl: amlogic: gxbb: add ethernet pins 2016-05-31 10:37:09 +02:00
pinctrl-meson.c pinctrl: meson: Drop pinctrl_unregister for devm_ registered device 2016-08-10 15:45:54 +02:00
pinctrl-meson.h pinctrl: amlogic: Add support for Amlogic Meson GXBB SoC 2016-05-11 10:47:11 +02:00
pinctrl-meson8.c pinctrl: amlogic: Make driver independent from two-domain configuration 2016-03-09 13:00:28 +07:00
pinctrl-meson8b.c pinctrl: meson: Fix eth_tx_en bit index 2016-05-11 14:18:10 +02:00