]> git.karo-electronics.de Git - linux-beck.git/commit
pinctrl: imx: output one pin/config pair per line in pinconf-groups
authorVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Fri, 19 Aug 2016 22:05:37 +0000 (01:05 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Sep 2016 22:18:10 +0000 (00:18 +0200)
commita2d16a21834848226919f3aca37307ce214f6073
tree66090202b28610d49556df72c7eab58e4defd086
parenta9784e56aa106959ee695de8bf7c546b9bd6ad14
pinctrl: imx: output one pin/config pair per line in pinconf-groups

cat /sys/kernel/debug/pinctrl/${pinctrl}/pinconf-groups output is
hardly readable, if a pin group contains more than one pin the output
is glued and looks like this:

  MX6Q_PAD_SD1_DAT0: 0x17071MX6Q_PAD_SD1_CMD: 0x17071MX6Q_PAD_SD1_CLK: 0x17071

Add two space indentation and a new line separator to improve
readability of the output.

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/freescale/pinctrl-imx.c