summaryrefslogtreecommitdiff
path: root/tools/spi/spidev_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/spi/spidev_test.c')
-rw-r--r--tools/spi/spidev_test.c5
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"