summaryrefslogtreecommitdiffstats
path: root/tools/gpio
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2017-01-25 22:01:44 +0100
committerLinus Walleij <linus.walleij@linaro.org>2017-01-26 16:29:09 +0100
commit38575edcabb4012cb79d02ba9e133cb31aad5137 (patch)
tree69214cd0986e18b18392eab491a296b80ab67d5e /tools/gpio
parentgpio: ws16c48: Utilize devm_ functions in driver probe callback (diff)
downloadlinux-38575edcabb4012cb79d02ba9e133cb31aad5137.tar.xz
linux-38575edcabb4012cb79d02ba9e133cb31aad5137.zip
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>
Diffstat (limited to 'tools/gpio')
-rw-r--r--tools/gpio/gpio-hammer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpio/gpio-hammer.c b/tools/gpio/gpio-hammer.c
index f1eab587dfea..4bcb234c0fca 100644
--- a/tools/gpio/gpio-hammer.c
+++ b/tools/gpio/gpio-hammer.c
@@ -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