pinctrl: at91: implement at91_pinconf_dbg_show
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 7 Dec 2013 13:08:54 +0000 (14:08 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 13 Dec 2013 09:34:07 +0000 (10:34 +0100)
commit4d9b8a8e4657010e3254d2e52e9542c4cedf448d
treecdd4e8ed64e81939eb6d7561f5e47b7c2e54dfab
parent1a16bee6bce39ca31724cf928dce19bd48d78df5
pinctrl: at91: implement at91_pinconf_dbg_show

This allows to get the pin configuration by using debugfs. On my system:
 # cat /sys/kernel/debug/pinctrl/pinctrl.3/pinconf-pins

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91.c