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>
Tue, 3 Jan 2012 08:10:06 +0000 (09:10 +0100)
commitca53c5f1ca5c936777caca46b7c716a40682ce83
tree14cc56944d442c8b509b2ad1e9d350617b98cf47
parent23750196ef472e9249958d5165b0bb292518c710
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