mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
Currently drivers for resource ioremap does following explicit operations. * error check for platform_get_resource() * call devm_request_mem_region() * call devm_ioremap() Instead of above explicit calls, devm_ioremap_resource() function can be used, which covers all of the above. As per this scheme all drivers are updated for memory region request and ioremapping. Bug 200503387 Change-Id: I7b8df29742e8236d315369ef76aa57d47f47aac7 Signed-off-by: Sameer Pujar <spujar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2152456 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>