pinctrl: stm32: improve debugfs information of pinconf-pins entry
authorFabien Dessenne <fabien.dessenne@foss.st.com>
Mon, 2 May 2022 15:25:24 +0000 (17:25 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 4 May 2022 22:02:48 +0000 (00:02 +0200)
commit3296c473d9aada9b8ca1f47d395727595c01cff7
tree6fc4eb1955e85eb43f1dcaf730614be542a3e18e
parentb983d423ce7408e13b3682558741aae3180bdcc9
pinctrl: stm32: improve debugfs information of pinconf-pins entry

Print the name of the selected alternate function in addition to its
number. Ex:
   "pin 135 (PI7): alternate 10 (SAI2_FS_A) - ..."

Signed-off-by: Fabien Dessenne <fabien.dessenne@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Link: https://lore.kernel.org/r/20220502152524.283374-1-fabien.dessenne@foss.st.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/stm32/pinctrl-stm32.c
drivers/pinctrl/stm32/pinctrl-stm32.h