commit | 5667b5b59f45bd0bebadfae9ed55745b4cff2198 | [log] [tgz] |
---|---|---|
author | Anson Huang <Anson.Huang@nxp.com> | Wed Jul 17 16:40:17 2019 +0800 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Aug 01 14:49:52 2019 +0200 |
tree | ed243876149aefb4730d9fb7a5eec78fe90a45a3 | |
parent | b17e6d19dcd3fcb2b93166034e739e82b49d2a51 [diff] |
i2c: imx-lpi2c: 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> Acked-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>