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)
commit49beeea7ebdb1d86ba8465e5021d72ad9e9474b8
tree6760772e6d8e55e996169c0ec5938a7345a0cd71
parenta9a7da031dcaeb5064df6605535cf360276b911a
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>
Documentation/driver-api/driver-model/devres.rst