dm: spi: Adjust cmd_spi to work with driver model