diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2019-07-30 05:21:24 +0300 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2019-08-28 11:33:25 +0300 |
commit | 4d82000af007acda6b46729ea368f6b2823c532c (patch) | |
tree | c2a1ac2f12ac7d713307c7ddd7c2755956f47db6 /drivers/thermal/thermal-generic-adc.c | |
parent | 11f0cdc8bd621fcded06c951b05076e618c5c717 (diff) | |
download | linux-4d82000af007acda6b46729ea368f6b2823c532c.tar.xz |
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>
Diffstat (limited to 'drivers/thermal/thermal-generic-adc.c')
0 files changed, 0 insertions, 0 deletions