register spi controller, remove whitespaces