]> 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>
Fri, 9 Dec 2011 11:00:17 +0000 (12:00 +0100)
commit59a7018862643c4c9af4a8e66fedec0374a255ef
tree2bbf627308fd584f95e2f93fbe4be82f552f776a
parentb833b65a42dfbeb5e4cc09323ca04df6dd3279d1
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