code: func (s *spiConfig) GetChipOrDefault(d int) int {
  	if s.chip == NotInitialized {
  		return d
  	}
  	return s.chip
  }
docs: // GetChipOrDefault returns which chip to use, either the one set using WithChip(),
  // or the default value which is passed in as the one param.