diff options
author | Yang Yingliang | 2022-09-23 22:18:03 +0800 |
---|---|---|
committer | Jonathan Corbet | 2022-09-27 13:21:45 -0600 |
commit | 49beeea7ebdb1d86ba8465e5021d72ad9e9474b8 (patch) | |
tree | 6760772e6d8e55e996169c0ec5938a7345a0cd71 /Documentation | |
parent | a9a7da031dcaeb5064df6605535cf360276b911a (diff) |
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')
-rw-r--r-- | Documentation/driver-api/driver-model/devres.rst | 2 |
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 |