Name
spi_add_device —
Add spi_device allocated with spi_alloc_device
Arguments
spi
spi_device to register
Description
Companion function to spi_alloc_device. Devices allocated with
spi_alloc_device can be added onto the spi bus with this function.
Return
0 on success; negative errno on failure