all pios_spi: check device in non freertos env and remove redundancy
Merge pull request #707 from lilvinz/spi_redundancy

all pios_spi: check device in non freertos env and remove redundancy