summaryrefslogtreecommitdiffstats
path: root/tools/gpio
diff options
context:
space:
mode:
authorMykyta Poturai <mykyta.poturai@gmail.com>2020-03-22 12:10:17 +0200
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-03-25 09:50:46 +0100
commit97551625025320e9d635531625316e43c8ed62b0 (patch)
treebba01ef3fdafde82f92c9be88de469f19c2d2273 /tools/gpio
parent1003bc16481a46fe5cecf99dcd3edbf48648d2a0 (diff)
downloadlinux-97551625025320e9d635531625316e43c8ed62b0.tar.gz
linux-97551625025320e9d635531625316e43c8ed62b0.tar.bz2
linux-97551625025320e9d635531625316e43c8ed62b0.zip
tools: gpio: Fix typo in gpio-utils
Replace COMSUMER with proper CONSUMER Signed-off-by: Mykyta Poturai <mykyta.poturai@gmail.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/gpio')
-rw-r--r--tools/gpio/gpio-utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gpio/gpio-utils.c b/tools/gpio/gpio-utils.c
index 53470de6a502..06003789e7c7 100644
--- a/tools/gpio/gpio-utils.c
+++ b/tools/gpio/gpio-utils.c
@@ -17,7 +17,7 @@
#include <linux/gpio.h>
#include "gpio-utils.h"
-#define COMSUMER "gpio-utils"
+#define CONSUMER "gpio-utils"
/**
* doc: Operation of gpio
@@ -209,7 +209,7 @@ int gpiotools_gets(const char *device_name, unsigned int *lines,
ret = gpiotools_request_linehandle(device_name, lines, nlines,
GPIOHANDLE_REQUEST_INPUT, data,
- COMSUMER);
+ CONSUMER);
if (ret < 0)
return ret;
@@ -259,7 +259,7 @@ int gpiotools_sets(const char *device_name, unsigned int *lines,
ret = gpiotools_request_linehandle(device_name, lines, nlines,
GPIOHANDLE_REQUEST_OUTPUT, data,
- COMSUMER);
+ CONSUMER);
if (ret < 0)
return ret;