bus: imx-weim: use devm_platform_ioremap_resource
authorMartin Kaiser <martin@kaiser.cx>
Sun, 9 Jul 2023 13:39:44 +0000 (15:39 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 19 Jul 2023 02:14:11 +0000 (10:14 +0800)
commit0e40e5fe87f11a8d282afc0dacc8c8b4f8a57630
tree1e0d3e021f1f7c07ab5e2191f055a3629a853d3f
parent7b95e20e32c9169d6232d097c26de825839872e8
bus: imx-weim: use devm_platform_ioremap_resource

devm_platform_get_and_ioremap_resource maps a resource and returns its
physical address. If we don't need the physical address, we should call
devm_platform_ioremap_resource instead.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/bus/imx-weim.c