1SPI_ADD_DEVICE(9) Serial Peripheral Interface (S SPI_ADD_DEVICE(9)
23
4
NAME
6spi_add_device - Add spi_device allocated with spi_alloc_device
7
SYNOPSIS
9int spi_add_device(struct spi_device * spi);
10
ARGUMENTS
12spi
13spi_device to register
14
DESCRIPTION
16Companion function to spi_alloc_device. Devices allocated with
17spi_alloc_device can be added onto the spi bus with this function.
1819
Returns 0 on success; negative errno on failure
20
COPYRIGHT
22Kernel Hackers Manual 3.10 June 2019 SPI_ADD_DEVICE(9)