Add spidev_test.c, which is official code from Linux kernel