commit | 0c46b07ce4d5000855d810d61bb18fb4b0c4cc3b | [log] [tgz] |
---|---|---|
author | Anson Huang <anson.huang@nxp.com> | Mon Apr 01 05:29:13 2019 +0000 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Thu Apr 04 10:07:11 2019 +0200 |
tree | b10371bd9de8ac893ee1d62439d988dd69138eea | |
parent | cf37fa79a7617049223172f1e7729da8deb5cd01 [diff] |
rtc: snvs: 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>