core: new gpiod_chip_open() flavor
authorBartosz Golaszewski <bartekgola@gmail.com>
Wed, 22 Feb 2017 10:47:52 +0000 (11:47 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Wed, 22 Feb 2017 10:47:52 +0000 (11:47 +0100)
commit6d33670b9517ae4584ce0432aa8dc693d2acb246
treed9983dc9ea3113e009b630f96093b426688590c9
parentbef994b3353ab44c493e5c369a2ee015016d22fd
core: new gpiod_chip_open() flavor

Implement gpiod_chip_open_by_label() which allows to find and open
a GPIO chip by its in-kernel label.

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