]> git.baikalelectronics.ru Git - kernel.git/commit
soc/tegra: pmc: Use devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 8 Sep 2021 07:17:24 +0000 (15:17 +0800)
committerThierry Reding <treding@nvidia.com>
Fri, 8 Oct 2021 19:42:41 +0000 (21:42 +0200)
commit764ef7f9808a07f63014089ca78ec4d4cf805933
treeaecac937f2193b798533b52e3a165ba86166c4fa
parent7064b7b256841e478bf48ae5761953a32ecd8fca
soc/tegra: pmc: Use devm_platform_ioremap_resource()

Use the devm_platform_ioremap_resource() helper instead of calling
platform_get_resource() and devm_ioremap_resource() separately.

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c