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: NJagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by: NSimon Glass <sjg@chromium.org>
Showing
想要评论请 注册 或 登录