summaryrefslogtreecommitdiff
path: root/tools/gpio/gpio-hammer.c
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/gpio-hammer.c
parentb4cad1bc5ff63881b92a0fe9683723b4379d8c40 (diff)
downloadlinux-starfive-38575edcabb4012cb79d02ba9e133cb31aad5137.tar.gz
linux-starfive-38575edcabb4012cb79d02ba9e133cb31aad5137.tar.bz2
linux-starfive-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/gpio-hammer.c')
-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