]> Git Repo - linux.git/commit
drivers: provide devm_platform_get_and_ioremap_resource()
authorDejin Zheng <[email protected]>
Mon, 23 Mar 2020 16:06:08 +0000 (00:06 +0800)
committerGreg Kroah-Hartman <[email protected]>
Tue, 24 Mar 2020 11:09:38 +0000 (12:09 +0100)
commit890cc39a879906b63912482dfc41944579df2dc6
tree7d252fd21393f02f3ca6d5f36e8b25f1a8be5a55
parentd2e971d884e7b7e65162788b8f3b7801cd8bc137
drivers: provide devm_platform_get_and_ioremap_resource()

Since commit "drivers: provide devm_platform_ioremap_resource()",
it was wrap platform_get_resource() and devm_ioremap_resource() as
single helper devm_platform_ioremap_resource(). but now, many drivers
still used platform_get_resource() and devm_ioremap_resource()
together in the kernel tree. The reason can not be replaced is they
still need use the resource variables obtained by platform_get_resource().
so provide this helper.

Suggested-by: Geert Uytterhoeven <[email protected]>
Suggested-by: Sergei Shtylyov <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Dejin Zheng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/base/platform.c
include/linux/platform_device.h
This page took 0.056261 seconds and 4 git commands to generate.