devm_spi_register_master
Prev | Chapter 9. Serial Peripheral Interface (SPI) | Next

## 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

Prev | Up | Next
spi_register_master | Home | spi_unregister_master