pinctrl: meson: add common function to get pins name
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 4 Jun 2019 09:04:52 +0000 (11:04 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 12 Jun 2019 09:50:02 +0000 (11:50 +0200)
commit88fa32b8493c81f2ba19a453e4c44346017c0e83
treeda02953d1698813c8b113d40e3aefdba0402a222
parentfb9424553482440b9629d53f583c5e3040872a2b
pinctrl: meson: add common function to get pins name

In order to support the "pinmux status" command, add common function
to get pins count and pin name.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/pinctrl/meson/pinctrl-meson.c
drivers/pinctrl/meson/pinctrl-meson.h