The spi_close() function disconnects the application from the SPI resource manager. The prototype for this function is:
int spi_close( int fd );
The argument is: