bindings: python: provide the chip_name property in line_request
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 20 Jul 2023 14:47:46 +0000 (16:47 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 21 Jul 2023 18:33:39 +0000 (20:33 +0200)
commiteb9816ebe0e0961379a6d271ed7f5203048c7bdf
tree7fd42008a2128c953fb5c0b5c7b119f55d20c8da
parent1787cee1b32930157eed22bd9bdff4be5be7aa01
bindings: python: provide the chip_name property in line_request

Provide a wrapper around gpiod_line_request_get_chip_name() for Python
bindings and update the tests.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
bindings/python/gpiod/chip.py
bindings/python/gpiod/ext/request.c
bindings/python/gpiod/line_request.py
bindings/python/tests/tests_line_request.py