gpio-hammer: Apply scripts/Lindent and retain good changes
PATCH 1/1 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 <[email protected]>
--- tools/gpio/gpio-hammer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/gpio/gpio-hammer.c +1 -1
@@ -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,"[" );
Signature · 1 line
2.24.1
pon., 16 mar 2020 o 20:50 Gabriel Ravier <[email protected]> napisał(a):
Quoted 24 lines
"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]>--- tools/gpio/gpio-hammer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/gpio/gpio-hammer.c +1
-2@@ -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,"[" ); --
Quoted 2 lines
2.24.1
Patch applied, thanks!
Bartosz