pinctrl/lantiq: Free mapping configs for both pin and groups
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 14 May 2013 15:00:38 +0000 (17:00 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 May 2013 11:28:46 +0000 (13:28 +0200)
commit1dda2fa650da12a644c7cc8645707c912bdc5ab8
tree5f6c5db5d4697e99d2b59d4b94b67d5d84e1d067
parent18442e65d424dc84a4a4a3b635eb1a52de3cb6b4
pinctrl/lantiq: Free mapping configs for both pin and groups

When creating mappings from DT both pin config and group config mappings
are allocated. Free them both when destroying the mappings.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-lantiq.c