]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit21281ddd9dd9bcd94729d4f987367d2181a89a7c
tree5f6c5db5d4697e99d2b59d4b94b67d5d84e1d067
parent40a8c6ce62eb3f35a8dac5664fed75e48d4cfb25
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