]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: vic: Use devm_platform_ioremap_resource()
authorLv Ruyi <lv.ruyi@zte.com.cn>
Thu, 21 Apr 2022 08:45:42 +0000 (08:45 +0000)
committerThierry Reding <treding@nvidia.com>
Fri, 8 Jul 2022 15:54:42 +0000 (17:54 +0200)
commitc6c090bcaa39671794e749686d99827cb5ba7fff
tree6f02443d59033cb96d9c6c2a5d86fc1ea303f4a5
parent4fa94282b93bc39dbd3ce6a45f591a58dbab45b3
drm/tegra: vic: Use devm_platform_ioremap_resource()

Use the devm_platform_ioremap_resource() helper instead of calling
platform_get_resource() and devm_ioremap_resource() separately. Make the
code simpler without functional changes.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/vic.c