diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2019-07-17 10:40:16 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-08-01 14:49:36 +0200 |
commit | b17e6d19dcd3fcb2b93166034e739e82b49d2a51 (patch) | |
tree | b65d672c61e4b1f39633b72b8345b42d7c464cad /drivers/i2c/busses/i2c-imx-lpi2c.c | |
parent | i2c: ismt: Remove call to memset after dmam_alloc_coherent (diff) | |
download | linux-b17e6d19dcd3fcb2b93166034e739e82b49d2a51.tar.xz linux-b17e6d19dcd3fcb2b93166034e739e82b49d2a51.zip |
i2c: mxs: 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: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-imx-lpi2c.c')
0 files changed, 0 insertions, 0 deletions