]> 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>
Thu, 8 Dec 2011 15:19:04 +0000 (16:19 +0100)
commitfb460137049c90d6cf2583427bda0a43c812c98e
tree7bdb72e8150e123349a8078920a33dff93ab8f2b
parentb9bc49fcea48037636cf7fc2139cb48078a6b01c
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