]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pinctrl: make it possible to add multiple maps
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 30 Nov 2011 12:28:14 +0000 (13:28 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 14 Dec 2011 16:46:28 +0000 (17:46 +0100)
commit2070b0d0c876099853640b2fcef4fc276fa023e7
tree454627d0c9617bf2cb878fddc282fa0a25f4736d
parent326d357c4779648398afb9eb91a32084a0f8da51
pinctrl: make it possible to add multiple maps

Since we now anyway make a copy of the platform-supplied pinmux
map, we can just as well make it possible to call the function
adding maps several times, so as to simplify cases (as PXA) where
several sets of disparate mappings need to be added depending on
target platform.

Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Acked-by: Arnd Bergmann <arnd@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinmux.c