forked from Minki/linux
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 "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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user