commit | 5c437a401b824399b6fa7342c66b675ebb7af43e | [log] [tgz] |
---|---|---|
author | Joshua Clayton <stillcompiling@gmail.com> | Wed Nov 18 14:30:38 2015 -0800 |
committer | Mark Brown <broonie@kernel.org> | Mon Nov 23 14:54:01 2015 +0000 |
tree | 7fa7f5ae400f9aee7c238ae139af4968b007c1e0 | |
parent | 5eca4d843f9f0c3140a8657ba2f8217ee6c08c11 [diff] |
spi: spidev_test: transfer_escaped_string function Move the input_tx code into its own small function. This cleans up some variables from main() that are used only here. While we are at it, check malloc calls instead of assuming they succeed. Signed-off-by: Joshua Clayton <stillcompiling@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>