spi: variables/method name, err handling changes to follow idiomatic go