Skip to content
Commit 4d82000a authored by Anson Huang's avatar Anson Huang Committed by Zhang Rui
Browse files

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: default avatarAnson Huang <Anson.Huang@nxp.com>
Reviewed-by: default avatarDong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 11f0cdc8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment