Skip to content

Commit

Permalink
tools: gpio: Fix typo in gpio-utils
Browse files Browse the repository at this point in the history
Replace COMSUMER with proper CONSUMER

Signed-off-by: Mykyta Poturai <mykyta.poturai@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
  • Loading branch information
Mykyta Poturai authored and Bartosz Golaszewski committed Mar 25, 2020
1 parent 1003bc1 commit 9755162
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/gpio/gpio-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <linux/gpio.h>
#include "gpio-utils.h"

#define COMSUMER "gpio-utils"
#define CONSUMER "gpio-utils"

/**
* doc: Operation of gpio
Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 9755162

Please sign in to comment.