selftests: gpio: add a helper for reading GPIO line names
authorBartosz Golaszewski <brgl@bgdev.pl>
Mon, 13 Dec 2021 12:42:20 +0000 (13:42 +0100)
committerBartosz Golaszewski <brgl@bgdev.pl>
Fri, 17 Dec 2021 11:26:13 +0000 (12:26 +0100)
commitb2bb90c80a3e9ba6d479aaf130277d6f96a87161
treebd7e1c35e93e1dc14708ef64df34621f4e361216
parent16c138f338b62dd0a339b9d0ca819426231be7f6
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 <brgl@bgdev.pl>
tools/testing/selftests/gpio/.gitignore
tools/testing/selftests/gpio/Makefile
tools/testing/selftests/gpio/gpio-line-name.c [new file with mode: 0644]