pinctrl: improve debugfs for strict controllers
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 28 May 2015 08:11:19 +0000 (10:11 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 28 May 2015 08:14:21 +0000 (10:14 +0200)
commit815088550342904acd68f43436e1b4d1d78b77c1
tree49eb667edff42461733f0d7f9dde71035c314ca6
parenta2202a4c762bedb56bcaafd3200deceac1c2e7b5
pinctrl: improve debugfs for strict controllers

If we know we are using a strict pin controller (one that cannot
mix device functions+group use and GPIO) we can be a bit more
specific in debugfs, just print either device-function-group
or GPIO consumer for the pin. Let's do that to be helpful.

Cc: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinmux.c