Name

devm_spi_register_master — register managed SPI master controller

Synopsis

int devm_spi_register_master (struct device * dev,
 struct spi_master * master);
 

Arguments

dev

device managing SPI master

master

initialized master, originally from spi_alloc_master

Context

can sleep

Description

Register a SPI device as with spi_register_master which will automatically be unregister

Return

zero on success, else a negative error code.