Skip to content

Commit 49beeea

Browse files
Yang YingliangJonathan Corbet
authored andcommitted
Documentation: devres: add missing SPI helper
Add devm_spi_alloc_master() and devm_spi_alloc_slave() to devres.rst. They are introduced by commit 5e844cc ("spi: Introduce device-managed SPI controller allocation"). Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Reviewed-by: Lukas Wunner <lukas@wunner.de> Link: https://lore.kernel.org/r/20220923141803.75734-1-yangyingliang@huawei.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent a9a7da0 commit 49beeea

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Documentation/driver-api/driver-model/devres.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,8 @@ SLAVE DMA ENGINE
429429
devm_acpi_dma_controller_register()
430430

431431
SPI
432+
devm_spi_alloc_master()
433+
devm_spi_alloc_slave()
432434
devm_spi_register_master()
433435

434436
WATCHDOG

0 commit comments

Comments
 (0)