summaryrefslogtreecommitdiff
path: root/tools/gpio/gpio-utils.h
diff options
context:
space:
mode:
authorKent Gibson <warthog618@gmail.com>2021-01-19 20:30:57 +0800
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2021-02-15 11:43:28 +0100
commitef0d6d977502dacf38fb33a294a43bd0e631fbd2 (patch)
tree18b808c8117555188d1d9d2f3f913e45ece64909 /tools/gpio/gpio-utils.h
parent999e71c35122b4e9d9a9f7245c9fe7fd72ae5ca3 (diff)
tools: gpio: remove uAPI v1 code no longer used by selftests
gpio-mockup-chardev helper has been obsoleted and removed, so also remove the tools/gpio code that it, and nothing else, was using. Signed-off-by: Kent Gibson <warthog618@gmail.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/gpio/gpio-utils.h')
-rw-r--r--tools/gpio/gpio-utils.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/gpio/gpio-utils.h b/tools/gpio/gpio-utils.h
index 6c69a9f1c253..8af7c8ee19ce 100644
--- a/tools/gpio/gpio-utils.h
+++ b/tools/gpio/gpio-utils.h
@@ -24,12 +24,6 @@ static inline int check_prefix(const char *str, const char *prefix)
strncmp(str, prefix, strlen(prefix)) == 0;
}
-int gpiotools_request_linehandle(const char *device_name, unsigned int *lines,
- unsigned int num_lines, unsigned int flag,
- struct gpiohandle_data *data,
- const char *consumer_label);
-int gpiotools_release_linehandle(const int fd);
-
int gpiotools_request_line(const char *device_name,
unsigned int *lines,
unsigned int num_lines,