Skip to content
Snippets Groups Projects
Commit 5c437a40 authored by Joshua Clayton's avatar Joshua Clayton Committed by Mark Brown
Browse files

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: default avatarJoshua Clayton <stillcompiling@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5eca4d84
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment