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>
This commit is contained in:
parent
1003bc1648
commit
9755162502
@ -17,7 +17,7 @@
|
|||||||
#include <linux/gpio.h>
|
#include <linux/gpio.h>
|
||||||
#include "gpio-utils.h"
|
#include "gpio-utils.h"
|
||||||
|
|
||||||
#define COMSUMER "gpio-utils"
|
#define CONSUMER "gpio-utils"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* doc: Operation of gpio
|
* 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,
|
ret = gpiotools_request_linehandle(device_name, lines, nlines,
|
||||||
GPIOHANDLE_REQUEST_INPUT, data,
|
GPIOHANDLE_REQUEST_INPUT, data,
|
||||||
COMSUMER);
|
CONSUMER);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
@ -259,7 +259,7 @@ int gpiotools_sets(const char *device_name, unsigned int *lines,
|
|||||||
|
|
||||||
ret = gpiotools_request_linehandle(device_name, lines, nlines,
|
ret = gpiotools_request_linehandle(device_name, lines, nlines,
|
||||||
GPIOHANDLE_REQUEST_OUTPUT, data,
|
GPIOHANDLE_REQUEST_OUTPUT, data,
|
||||||
COMSUMER);
|
CONSUMER);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user