]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
pinctrl: pinconf: Fix display of configs
authorJon Hunter <jonathanh@nvidia.com>
Tue, 14 Jul 2015 10:17:59 +0000 (11:17 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 17 Jul 2015 12:20:49 +0000 (14:20 +0200)
commitd96310aeddc692cf1f06861cf722c4843e0a3f28
tree860fd75fc997b95ce4e3ddd4e69317acac7313f6
parent75629981069cf194336426bbbfb03f9c93d7ad67
pinctrl: pinconf: Fix display of configs

The function pinconf_dbg_config_print() only prints the configuration of
the 1st pin config in an array of pin configurations. Fix this so that
all pin configurations in the array are displayed.

There are a few places in the code where the pin configs are displayed
and so add a helper function to display the pin configs to simplify the
code.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinconf.c