From: Antoine Tenart Date: Wed, 10 Sep 2014 09:15:51 +0000 (+0200) Subject: pinctrl: berlin: fix the dt_free_map function X-Git-Tag: fixes-for-v3.18-merge-window~33^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6064b1474ef3cfa523916008b5176026bbc990d3;p=pandora-kernel.git 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 Acked-by: Sebastian Hesselbarth Signed-off-by: Linus Walleij --- Reading git-diff-tree failed