lkml.org 
[lkml]   [2015]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/8] spi: Add file i/o to spidev_test
Date
Add to spidev_test, the ability to read from and write to a file.
Clean up code along the way.
As I finished, I found that a request has been made to move
spidev_test from Documentation to tools, so I did that as well.

Joshua Clayton (8):
Documentation/spi/spidev_test.c: use one rx buffer
Documentation/spi/spidev_test.c: clean up input_tx
Documentation/spi/spidev_test.c: accept input from a file
Documentation/spi/spidev_test.c: output to a file
Documentation/spi/spidev_test.c: check error
Documentation/spi/spidev_test.c: fix whitespace
tools/Makefile: minor whitespace cleanup
spi: Move spi code from Documentation to tools

Documentation/Makefile | 2 +-
Documentation/spi/Makefile | 8 -
Documentation/spi/spidev_fdx.c | 158 -----------------
Documentation/spi/spidev_test.c | 318 ---------------------------------
tools/Makefile | 43 ++++-
tools/spi/Makefile | 4 +
tools/spi/spidev_fdx.c | 158 +++++++++++++++++
tools/spi/spidev_test.c | 385 ++++++++++++++++++++++++++++++++++++++++
8 files changed, 582 insertions(+), 494 deletions(-)
delete mode 100644 Documentation/spi/Makefile
delete mode 100644 Documentation/spi/spidev_fdx.c
delete mode 100644 Documentation/spi/spidev_test.c
create mode 100644 tools/spi/Makefile
create mode 100644 tools/spi/spidev_fdx.c
create mode 100644 tools/spi/spidev_test.c

--
2.5.0



\
 
 \ /
  Last update: 2015-11-17 16:41    [W:0.258 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site