[SQUASH ME] removed obsolete error case for undefined SPI device
[SQUASH ME] changen 0 to NULL in spi_transfer_reg/s functions