commit | cf37fa79a7617049223172f1e7729da8deb5cd01 | [log] [tgz] |
---|---|---|
author | Anson Huang <anson.huang@nxp.com> | Mon Apr 01 05:21:43 2019 +0000 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Thu Apr 04 10:07:11 2019 +0200 |
tree | 376ae54552b6033f433f173c0c090f520a91dc6c | |
parent | e7afddb2b4d24fba318f5e74216bae06dcb36a10 [diff] |
rtc: mxc: 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> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>