summaryrefslogtreecommitdiffstats
path: root/tools/gpio
diff options
context:
space:
mode:
authorGabriel Ravier <gabravier@gmail.com>2020-03-16 20:50:48 +0100
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-03-25 09:50:46 +0100
commit1003bc16481a46fe5cecf99dcd3edbf48648d2a0 (patch)
tree27bed83b97d60f8ff111610735da11ae140694cf /tools/gpio
parentgpiolib: gpio_name_to_desc: factor out !name check (diff)
downloadlinux-1003bc16481a46fe5cecf99dcd3edbf48648d2a0.tar.xz
linux-1003bc16481a46fe5cecf99dcd3edbf48648d2a0.zip
tools: gpio-hammer: Apply scripts/Lindent and retain good changes
"retain good changes" means that I left the help string split up instead of having this weird thing where it tries to merge together the last three lines and it looks **really** bad Signed-off-by: Gabriel Ravier <gabravier@gmail.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
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 28d2329e83d2..9fd926e8cb52 100644
--- a/tools/gpio/gpio-hammer.c
+++ b/tools/gpio/gpio-hammer.c
@@ -77,7 +77,7 @@ int hammer_device(const char *device_name, unsigned int *lines, int nlines,
fprintf(stdout, "[%c] ", swirr[j]);
j++;
- if (j == sizeof(swirr)-1)
+ if (j == sizeof(swirr) - 1)
j = 0;
fprintf(stdout, "[");