diff options
author | Joshua Clayton <stillcompiling@gmail.com> | 2015-11-18 14:30:42 -0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-11-23 14:54:01 +0000 |
commit | b2cfc90428f1c24ce4920f06b584bd05c62741e6 (patch) | |
tree | a827e6df278776d93755f64b7f9a16ecd6f387c6 /tools/spi | |
parent | a20874f78be633b9e3a505d5f191735188b110a5 (diff) | |
download | linux-rpi3-b2cfc90428f1c24ce4920f06b584bd05c62741e6.tar.gz linux-rpi3-b2cfc90428f1c24ce4920f06b584bd05c62741e6.tar.bz2 linux-rpi3-b2cfc90428f1c24ce4920f06b584bd05c62741e6.zip |
spi: spidev_test: fix whitespace
Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/spi')
-rw-r--r-- | tools/spi/spidev_test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/spi/spidev_test.c b/tools/spi/spidev_test.c index 322370dbc770..eddfc336a960 100644 --- a/tools/spi/spidev_test.c +++ b/tools/spi/spidev_test.c @@ -52,7 +52,8 @@ uint8_t default_tx[] = { uint8_t default_rx[ARRAY_SIZE(default_tx)] = {0, }; char *input_tx; -static void hex_dump(const void *src, size_t length, size_t line_size, char *prefix) +static void hex_dump(const void *src, size_t length, size_t line_size, + char *prefix) { int i = 0; const unsigned char *address = src; @@ -164,7 +165,7 @@ static void print_usage(const char *prog) puts(" -D --device device to use (default /dev/spidev1.1)\n" " -s --speed max speed (Hz)\n" " -d --delay delay (usec)\n" - " -b --bpw bits per word \n" + " -b --bpw bits per word\n" " -i --input input data from a file (e.g. \"test.bin\")\n" " -o --output output data to a file (e.g. \"results.bin\")\n" " -l --loop loopback\n" |