thermal: qoriq: Use devm_platform_ioremap_resource() instead of of_iomap()
authorAnson Huang <Anson.Huang@nxp.com>
Tue, 30 Jul 2019 02:21:24 +0000 (10:21 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 28 Aug 2019 08:33:25 +0000 (16:33 +0800)
commit4d82000af007acda6b46729ea368f6b2823c532c
treec2a1ac2f12ac7d713307c7ddd7c2755956f47db6
parent11f0cdc8bd621fcded06c951b05076e618c5c717
thermal: qoriq: Use devm_platform_ioremap_resource() instead of of_iomap()

Use devm_platform_ioremap_resource() instead of of_iomap() to
save the iounmap() call in error handle path;

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/qoriq_thermal.c