treewide: kill find_lines()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 2 Dec 2020 12:47:43 +0000 (13:47 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 14 Dec 2020 14:57:05 +0000 (15:57 +0100)
commit8496158bc066dbde94c378297f38d685fcbf8b4c
tree7c4ddffb4bf3ab78da496631ac318dcc707ed85f
parentfa1fe46653edbefd5c536300422402d9597c7b90
treewide: kill find_lines()

GPIO line names are not unique. Looking up multiple lines by names would
require us to return a list of matching lines for every name. We're
simplifying the library API so drop this interface treewide.

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