]> Git Repo - linux.git/commitdiff
tools: gpio-hammer: Apply scripts/Lindent and retain good changes
authorGabriel Ravier <[email protected]>
Mon, 16 Mar 2020 19:50:48 +0000 (20:50 +0100)
committerBartosz Golaszewski <[email protected]>
Wed, 25 Mar 2020 08:50:46 +0000 (09:50 +0100)
"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 <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
tools/gpio/gpio-hammer.c

index 28d2329e83d2211fa17f9e62108ca9c241e4ab7e..9fd926e8cb5248377c775012786b1dafaeb092ab 100644 (file)
@@ -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, "[");
This page took 0.053669 seconds and 4 git commands to generate.