commit | d10d094cbfd338f361a83a82e5d99feb7933008d | [log] [tgz] |
---|---|---|
author | Anson Huang <Anson.Huang@nxp.com> | Wed Jul 17 17:04:37 2019 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sat Jul 27 21:08:32 2019 +1000 |
tree | d69a48186783bfc8bbd8d442ff7b1466e0c776ff | |
parent | 72c8117adfced37df101c8c0b3f363e0906f83f0 [diff] |
hwrng: imx-rngc - 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: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>