summaryrefslogtreecommitdiff
path: root/Documentation/driver-api/driver-model
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-09-23 17:18:03 +0300
committerJonathan Corbet <corbet@lwn.net>2022-09-27 22:21:45 +0300
commit49beeea7ebdb1d86ba8465e5021d72ad9e9474b8 (patch)
tree6760772e6d8e55e996169c0ec5938a7345a0cd71 /Documentation/driver-api/driver-model
parenta9a7da031dcaeb5064df6605535cf360276b911a (diff)
downloadlinux-49beeea7ebdb1d86ba8465e5021d72ad9e9474b8.tar.xz
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>
Diffstat (limited to 'Documentation/driver-api/driver-model')
-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