]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: gpio: add a helper for reading GPIO line names
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 15 Mar 2021 09:13:59 +0000 (10:13 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 26 Mar 2021 13:56:37 +0000 (14:56 +0100)
commit8a4cb2823240c65b38f6ba03056774811660da10
tree7e859d106950ed65622b1f2c13ce2f2b17dda708
parentab1dbed6f4e8d46ab3b0599bd81da8132924984f
selftests: gpio: add a helper for reading GPIO line names

Add a simple program that allows to read GPIO line names from the
character device. This will be used in gpio-sim selftests.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
tools/testing/selftests/gpio/.gitignore
tools/testing/selftests/gpio/Makefile
tools/testing/selftests/gpio/gpio-line-name.c [new file with mode: 0644]