i2c transfer function needs to return the number of successful transfers

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Attempt to make SPI driver working

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Add LICENSE

Signed-off-by: Guenter Roeck <linux@roeck-us.net>