[PATCH] SPI: improve sysfs compiler complaint handling