pinctrl: tegra-xusb: Don't leak configurations
authorThierry Reding <treding@nvidia.com>
Thu, 16 Oct 2014 10:12:22 +0000 (12:12 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 28 Oct 2014 15:59:31 +0000 (16:59 +0100)
The pinctrl config helpers make a separate copy of the configuration, so
callers must make sure to free any dynamically allocated memory that was
used to store it.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-tegra-xusb.c

Simple merge