aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpio/gpio-utils.c
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2020-03-25 11:11:00 +0000
committerLinus Walleij <[email protected]>2020-03-25 11:11:00 +0000
commit30a464a8dfee552e058c8f071a02a91baa79a9ff (patch)
treebba01ef3fdafde82f92c9be88de469f19c2d2273 /tools/gpio/gpio-utils.c
parentgpio: Move devres calls to devres file (diff)
parenttools: gpio: Fix typo in gpio-utils (diff)
downloadkernel-30a464a8dfee552e058c8f071a02a91baa79a9ff.tar.gz
kernel-30a464a8dfee552e058c8f071a02a91baa79a9ff.zip
Merge tag 'gpio-updates-for-v5.7-part4' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux into devel
gpio updates for v5.7 part 4 - improve comments in the uapi header - fix documentation issues - add a warning to gpio-pl061 when the IRQ line is not configured - allow building gpio-mxc and gpio-mxs with COMPILE_TEST enabled - don't print an error message when an optional IRQ is missing in gpio-mvebu - fix a potential segfault in gpio-hammer - fix a couple typos and coding style issues in gpio tools - provide a new flag in gpio-mmio and use it in mt7621 to fix an issue with the controller ignoring value setting when a GPIO is in input mode - slightly refactor gpio_name_to_desc()
Diffstat (limited to 'tools/gpio/gpio-utils.c')
-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;