spi_write() change return type from int to void

Signed-off-by: Andrea Corna <andrea.corna.ac.91@gmail.com>