arm64: a37xx: pinctrl: Improve description for pinmux command
authorPali Rohár <pali@kernel.org>
Thu, 4 Aug 2022 10:41:56 +0000 (12:41 +0200)
committerStefan Roese <sr@denx.de>
Tue, 9 Aug 2022 06:58:27 +0000 (08:58 +0200)
commit019090647cab4eb0e9a3ab99e64adde3b65e631e
tree27983c3172ba99c985a5000e2cb64116ef1ba3d8
parent361cf5c7e1ec01c8660fa549edac86ecb435913a
arm64: a37xx: pinctrl: Improve description for pinmux command

In more cases group name consist of function name followed by function
number. So if function name is just prefix of group name, show group name.

So in 'pinmux status -a' command output would be visible also extended
function number, which is useful for debugging.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c