|SPI_BUSNUM_TO_MASTER(9)||Serial Peripheral Interface (S||SPI_BUSNUM_TO_MASTER(9)|
spi_busnum_to_master - look up master associated with bus_num
struct spi_master * spi_busnum_to_master(u16 bus_num);
This call may be used with devices that are registered after arch init time. It returns a refcounted pointer to the relevant spi_master (which the caller must release), or NULL if there is no such master registered.
the SPI master structure on success, else NULL.
|January 2017||Kernel Hackers Manual 4.8.|