diff options
author | Antoine Tenart <antoine.tenart@free-electrons.com> | 2014-09-10 11:15:51 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-09-23 17:01:47 +0200 |
commit | 6064b1474ef3cfa523916008b5176026bbc990d3 (patch) | |
tree | b8f2e5effb24e5c031c86584a3a4a70bae7693d8 /security/integrity | |
parent | pinctrl: at91: disable PD or PU before enabling PU or PD (diff) | |
download | linux-6064b1474ef3cfa523916008b5176026bbc990d3.tar.xz linux-6064b1474ef3cfa523916008b5176026bbc990d3.zip |
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>
Diffstat (limited to 'security/integrity')
0 files changed, 0 insertions, 0 deletions