commit | 9f735c4e94fcbec66aa282eebb92c4aa3de88c6d | [log] [tgz] |
---|---|---|
author | Anson Huang <anson.huang@nxp.com> | Mon Apr 01 06:07:13 2019 +0000 |
committer | Shawn Guo <shawnguo@kernel.org> | Thu Apr 11 15:16:44 2019 +0800 |
tree | 2c3a2ec721f4cab85e18b2c509a594c6f9ab38c4 | |
parent | ccc1de31ab54bbf3e9fe2df1f562ea92d8fe8e44 [diff] |
soc: imx: gpcv2: use devm_platform_ioremap_resource() to simplify code Use the new helper devm_platform_ioremap_resource() which wraps the platform_get_resource() and devm_ioremap_resource() together, to simplify the code. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>