treewide: kill opening chips by label
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 26 Nov 2020 11:48:08 +0000 (12:48 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 14 Dec 2020 14:56:46 +0000 (15:56 +0100)
commit44ed2c098e1c5a716949e6f577b7fc1f328ef8c0
treed6fad7750add9f1716b4717bcb3cac36aa33b1f5
parent0bdee1e36f76f151e02765dba4fc68d389fe3965
treewide: kill opening chips by label

Chip labels are not unique - opening chips by label may lead to errors
or to ignoring chips with duplicate labels. Users can easily implement
chip lookup by label themselves so remove this part from the core library
and all bindings.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
bindings/cxx/chip.cpp
bindings/cxx/gpiod.hpp
bindings/cxx/tests/tests-chip.cpp
bindings/python/gpiodmodule.c
bindings/python/tests/gpiod_py_test.py
include/gpiod.h
lib/helpers.c
tests/tests-chip.c