summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-09-23 22:18:03 +0800
committerJonathan Corbet <corbet@lwn.net>2022-09-27 13:21:45 -0600
commit49beeea7ebdb1d86ba8465e5021d72ad9e9474b8 (patch)
tree6760772e6d8e55e996169c0ec5938a7345a0cd71
parenta9a7da031dcaeb5064df6605535cf360276b911a (diff)
downloadlwn-49beeea7ebdb1d86ba8465e5021d72ad9e9474b8.tar.gz
lwn-49beeea7ebdb1d86ba8465e5021d72ad9e9474b8.zip
Documentation: devres: add missing SPI helper
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>
-rw-r--r--Documentation/driver-api/driver-model/devres.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
index 755aecdd2f2d..6f190967ba2e 100644
--- a/Documentation/driver-api/driver-model/devres.rst
+++ b/Documentation/driver-api/driver-model/devres.rst
@@ -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