]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit964cb31413ac885485b08c9df50203c10cd21703
tree6760772e6d8e55e996169c0ec5938a7345a0cd71
parent9e236d695925e99cb39ecb4df71a52e2fcd672dd
Documentation: devres: add missing SPI helper

Add devm_spi_alloc_master() and devm_spi_alloc_slave() to devres.rst.
They are introduced by
commit 8add58bf4e1b ("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