October 2017
Intermediate to advanced
586 pages
14h 8m
English
struct spi_driver represents the driver you develop to manage your SPI device. Its structure is as follows:
struct spi_driver {
const struct spi_device_id *id_table;
int (*probe)(struct spi_device *spi);
int (*remove)(struct spi_device *spi);
void (*shutdown)(struct spi_device *spi);
struct device_driver driver;
};