summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2024-09-02 14:59:47 +0200
committerMark Brown <broonie@kernel.org>2024-09-30 01:12:07 +0200
commit0809a9ccac4a2ffdfd1561bb551aec6099775545 (patch)
treee0f9f13514f4255099b428add49a5bdb304e858e /Documentation/driver-api
parentvideo: fbdev: mmp: switch to use spi_alloc_host() (diff)
downloadlinux-0809a9ccac4a2ffdfd1561bb551aec6099775545.tar.xz
linux-0809a9ccac4a2ffdfd1561bb551aec6099775545.zip
spi: remove {devm_}spi_alloc_master/slave()
All the {devm_}spi_alloc_master/slave() have been replaced, so they can be removed and replaced in doc and comment. No functional changed. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://patch.msgid.link/20240902125947.1368-8-yangyingliang@huaweicloud.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/driver-api')
-rw-r--r--Documentation/driver-api/driver-model/devres.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
index 5f2ee8d717b1..ebbf8e4cc85f 100644
--- a/Documentation/driver-api/driver-model/devres.rst
+++ b/Documentation/driver-api/driver-model/devres.rst
@@ -462,8 +462,8 @@ SLAVE DMA ENGINE
devm_acpi_dma_controller_free()
SPI
- devm_spi_alloc_master()
- devm_spi_alloc_slave()
+ devm_spi_alloc_host()
+ devm_spi_alloc_target()
devm_spi_optimize_message()
devm_spi_register_controller()
devm_spi_register_host()