]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit49620567f27a20facff91f2af9bb1d16eee5910a
tree49eb667edff42461733f0d7f9dde71035c314ca6
parent5f376732001f58b251b03037d9711b8b3a5afe14
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