diff mbox series

tools: gpio: Fix typo in gpio-utils

Message ID 20200322100943.GA22132@kbp1-lhp-F54859
State New
Headers show
Series tools: gpio: Fix typo in gpio-utils | expand

Commit Message

Mykyta Poturai March 22, 2020, 10:10 a.m. UTC
Replace COMSUMER with proper CONSUMER

Signed-off-by: Mykyta Poturai <mykyta.poturai@gmail.com>
---
 tools/gpio/gpio-utils.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Bartosz Golaszewski March 23, 2020, 9:44 a.m. UTC | #1
niedz., 22 mar 2020 o 11:10 Mykyta Poturai <mykyta.poturai@gmail.com>
napisaƂ(a):
>
> Replace COMSUMER with proper CONSUMER
>
> Signed-off-by: Mykyta Poturai <mykyta.poturai@gmail.com>
> ---
>  tools/gpio/gpio-utils.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/gpio/gpio-utils.c b/tools/gpio/gpio-utils.c
> index 53470de..0600378 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;
>
> --
> 2.7.4
>

Patch applied, thanks!

Bartosz
diff mbox series

Patch

diff --git a/tools/gpio/gpio-utils.c b/tools/gpio/gpio-utils.c
index 53470de..0600378 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;