Cleanup in spi driver