helpers: provide gpiod_chip_find_lines()
authorBartosz Golaszewski <bartekgola@gmail.com>
Sun, 13 May 2018 11:56:49 +0000 (13:56 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Mon, 14 May 2018 10:00:24 +0000 (12:00 +0200)
commit5da2e8d7900c4fde7fab6c1570ea517f86965c66
tree37cd1e36dbc5e29aff9c3e1b6f37f439f2c673f8
parentd331321f010b07ec6646c3effa490655ecab624c
helpers: provide gpiod_chip_find_lines()

Implement a new helper that allows to look-up multiple GPIO lines by
their names. Include a set of test cases.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
include/gpiod.h
src/lib/helpers.c
tests/tests-chip.c