pinctrl: Show selected function and group in pinmux-pins debugfs
authorStephen Warren <swarren@nvidia.com>
Fri, 2 Mar 2012 20:05:49 +0000 (13:05 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Mar 2012 10:26:01 +0000 (11:26 +0100)
commitba110d90c08d9676370db9a62792f57ade5b3bbf
treec65de82bbaa802962fc21d1039a7d966ed2aa283
parent1e2082b520721734c358f776d34a069867214c8e
pinctrl: Show selected function and group in pinmux-pins debugfs

Until recently, the pinctrl pinmux-pins debugfs file displayed the
selected function for each owned pin. This feature was removed during
restructing in support of recent API rework. This change restoreds this
feature, and also displays the group that the function was selected on,
in case a pin is a member of multiple groups.

Based on work by: Linus Walleij <linus.walleij@linaro.org>

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