]> git.sur5r.net Git - u-boot/commit
dm: spi: Move cmd device code into its own function
authorSimon Glass <sjg@chromium.org>
Mon, 15 Sep 2014 12:33:22 +0000 (06:33 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Sep 2014 21:01:13 +0000 (15:01 -0600)
commitdf3b23ae3a7bb0627d595e6139ea43655d5acaa4
treea0d4aee87892fdf9783a2052be6f4047b68a725e
parent5e74934d407d2aabe5c4283b4394969025c643e3
dm: spi: Move cmd device code into its own function

In preparation for changing the error handling in this code for driver
model, move it into its own function.

Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_spi.c