]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pinctrl: conjure names for unnamed pins
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 14 Dec 2011 19:33:37 +0000 (20:33 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 18 Dec 2011 22:53:15 +0000 (23:53 +0100)
commit705e9d7ea13d7740598b38d39af1bf10d8c02ba3
tree14cc56944d442c8b509b2ad1e9d350617b98cf47
parentae1ed7046e625d03f6dec9dccae2deee8eb4339e
pinctrl: conjure names for unnamed pins

If pins with blank names are registered, we assign them names on-the-fly
on the form "PINn" where n is the pin number for that pin on the specific
controller.

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