From: Jonathan Corbet <corbet@lwn.net>
To: Yang Yingliang <yangyingliang@huawei.com>,
linux-doc@vger.kernel.org, linux-spi@vger.kernel.org
Cc: broonie@kernel.org, lukas@wunner.de, yangyingliang@huawei.com
Subject: Re: [PATCH -next v2] Documentation: devres: add missing SPI helper
Date: Mon, 26 Sep 2022 17:09:21 -0600 [thread overview]
Message-ID: <87leq5pwbi.fsf@meer.lwn.net> (raw)
In-Reply-To: <20220923141803.75734-1-yangyingliang@huawei.com>
Yang Yingliang <yangyingliang@huawei.com> writes:
> 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>
> ---
> v2:
> Put alloc functions above the register function.
> ---
> Documentation/driver-api/driver-model/devres.rst | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
> index 2895f9ea00c4..7a3c34214c4c 100644
> --- a/Documentation/driver-api/driver-model/devres.rst
> +++ b/Documentation/driver-api/driver-model/devres.rst
> @@ -436,6 +436,8 @@ SLAVE DMA ENGINE
> devm_acpi_dma_controller_register()
>
> SPI
> + devm_spi_alloc_master()
> + devm_spi_alloc_slave()
> devm_spi_register_master()
Applied, thanks.
jon
prev parent reply other threads:[~2022-09-26 23:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-23 14:18 [PATCH -next v2] Documentation: devres: add missing SPI helper Yang Yingliang
2022-09-26 23:09 ` Jonathan Corbet [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87leq5pwbi.fsf@meer.lwn.net \
--to=corbet@lwn.net \
--cc=broonie@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=lukas@wunner.de \
--cc=yangyingliang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).