diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-10-22 10:43:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-05 18:33:13 +0100 |
commit | c9c8641d3ebd79274af75f7df3e6a9c6cc8a66e9 (patch) | |
tree | d14690c74beef6a0d8a9a4e15700791abee97b0f /Documentation | |
parent | misc: sram: use devm_platform_ioremap_resource_wc() (diff) | |
download | linux-c9c8641d3ebd79274af75f7df3e6a9c6cc8a66e9.tar.xz linux-c9c8641d3ebd79274af75f7df3e6a9c6cc8a66e9.zip |
drivers: provide devm_platform_ioremap_resource_byname()
Provide a variant of devm_platform_ioremap_resource() that allows to
lookup resources from platform devices by name rather than by index.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20191022084318.22256-7-brgl@bgdev.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/driver-api/driver-model/devres.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst index 480b78ca3871..4ab193319d8c 100644 --- a/Documentation/driver-api/driver-model/devres.rst +++ b/Documentation/driver-api/driver-model/devres.rst @@ -319,6 +319,7 @@ IOMAP devm_ioremap_resource_wc() devm_platform_ioremap_resource() : calls devm_ioremap_resource() for platform device devm_platform_ioremap_resource_wc() + devm_platform_ioremap_resource_byname() devm_iounmap() pcim_iomap() pcim_iomap_regions() : do request_region() and iomap() on multiple BARs |