forked from luck/tmp_suning_uos_patched
gpio-hammer: fix make consumer_label suitable to work on gpio-nails
There are no gpio-nalils, so fix label accordingly. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
b4cad1bc5f
commit
38575edcab
|
@ -38,7 +38,7 @@ int hammer_device(const char *device_name, unsigned int *lines, int nlines,
|
|||
memset(&data.values, 0, sizeof(data.values));
|
||||
ret = gpiotools_request_linehandle(device_name, lines, nlines,
|
||||
GPIOHANDLE_REQUEST_OUTPUT, &data,
|
||||
"gpio-hammler");
|
||||
"gpio-hammer");
|
||||
if (ret < 0)
|
||||
goto exit_error;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user