linux/drivers/pinctrl/berlin
Antoine Tenart 6064b1474e pinctrl: berlin: fix the dt_free_map function
The berlin_pinctrl_dt_free_map function tries to free memory
allocated and handled by the of subsystem. This is wrong and
already handled by pinctrl_dt_free_maps() which calls
of_node_put().

This patch fixes the Berlin pinctrl way of freeing its maps,
avoiding a kernel BUG(), by using the common
pinctrl_utils_dt_free_map function instead.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2014-09-23 17:01:47 +02:00
..
Kconfig pinctrl: berlin: add the BG2CD pinctrl driver 2014-05-23 00:06:38 +02:00
Makefile pinctrl: berlin: add the BG2CD pinctrl driver 2014-05-23 00:06:38 +02:00
berlin-bg2.c pinctrl: berlin: Use devm_ioremap_resource() 2014-05-27 16:03:24 +02:00
berlin-bg2cd.c pinctrl: berlin: Use devm_ioremap_resource() 2014-05-27 16:03:24 +02:00
berlin-bg2q.c pinctrl: berlin: Use devm_ioremap_resource() 2014-05-27 16:03:24 +02:00
berlin.c pinctrl: berlin: fix the dt_free_map function 2014-09-23 17:01:47 +02:00
berlin.h