Documentation: devres: add missing SPI helper
authorYang Yingliang <yangyingliang@huawei.com>
Fri, 23 Sep 2022 14:18:03 +0000 (22:18 +0800)
committerJonathan Corbet <corbet@lwn.net>
Tue, 27 Sep 2022 19:21:45 +0000 (13:21 -0600)
Add devm_spi_alloc_master() and devm_spi_alloc_slave() to devres.rst.
They are introduced by
commit 5e844cc37a5c ("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>
Documentation/driver-api/driver-model/devres.rst

index 755aecd..6f19096 100644 (file)
@@ -429,6 +429,8 @@ SLAVE DMA ENGINE
   devm_acpi_dma_controller_register()
 
 SPI
+  devm_spi_alloc_master()
+  devm_spi_alloc_slave()
   devm_spi_register_master()
 
 WATCHDOG