pinctrl: tegra: use pinctrl-utils APIs for mapping
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 21 Aug 2013 11:23:38 +0000 (16:53 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 23 Aug 2013 06:56:32 +0000 (08:56 +0200)
commit1ede12d491cb5bad4f31f0e82443a68eeeeb8ac3
treed539d47d70d4a645bc162b6b69b6bcf94bcb86e7
parent3287c24088abded9f111ca797fdd36f86912d199
pinctrl: tegra: use pinctrl-utils APIs for mapping

Pin control utility functions provides the function for creating
map lists.

In place of implementing APIs locally in Tegra pin control driver
for creating map lists, use the utility functions. This reduces
the code size and avoid duplication.

Changes from V1:
- Rebased change on top of V1.
- Use pinctrl_utils_dt_free_map

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-tegra.c