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:
Uwe Kleine-König 2017-01-25 22:01:44 +01:00 committed by Linus Walleij
parent b4cad1bc5f
commit 38575edcab

View file

@ -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