2020-05-27 21:45:19

by Dejin Zheng

[permalink] [raw]
Subject: [PATCH v1] Documentation: devres: add missing entry for devm_platform_get_and_ioremap_resource()

The devm_platform_get_and_ioremap_resource() should be documented in
devres.rst. Add the missing entry.

Signed-off-by: Dejin Zheng <[email protected]>
---
Documentation/driver-api/driver-model/devres.rst | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
index 89681264ee2c..713b44deb0bf 100644
--- a/Documentation/driver-api/driver-model/devres.rst
+++ b/Documentation/driver-api/driver-model/devres.rst
@@ -314,6 +314,7 @@ IOMAP
devm_platform_ioremap_resource() : calls devm_ioremap_resource() for platform device
devm_platform_ioremap_resource_wc()
devm_platform_ioremap_resource_byname()
+ devm_platform_get_and_ioremap_resource()
devm_iounmap()
pcim_iomap()
pcim_iomap_regions() : do request_region() and iomap() on multiple BARs
--
2.25.0


2020-06-08 15:43:40

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH v1] Documentation: devres: add missing entry for devm_platform_get_and_ioremap_resource()

On Wed, 27 May 2020 22:45:31 +0800
Dejin Zheng <[email protected]> wrote:

> The devm_platform_get_and_ioremap_resource() should be documented in
> devres.rst. Add the missing entry.
>
> Signed-off-by: Dejin Zheng <[email protected]>
> ---
> Documentation/driver-api/driver-model/devres.rst | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
> index 89681264ee2c..713b44deb0bf 100644
> --- a/Documentation/driver-api/driver-model/devres.rst
> +++ b/Documentation/driver-api/driver-model/devres.rst
> @@ -314,6 +314,7 @@ IOMAP
> devm_platform_ioremap_resource() : calls devm_ioremap_resource() for platform device
> devm_platform_ioremap_resource_wc()
> devm_platform_ioremap_resource_byname()
> + devm_platform_get_and_ioremap_resource()

Applied, thanks.

jon