commit | 794a1e229b92a4327ed536dd55a22d5a52762b39 | [log] [tgz] |
---|---|---|
author | Anson Huang <anson.huang@nxp.com> | Sat Apr 13 11:33:00 2019 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Apr 25 19:43:12 2019 +0200 |
tree | 11e61736f43fd2f7f503260460ddd025de2ed0dd | |
parent | 3b26cd885853764aed83828429f5c50787cfc55a [diff] |
nvmem: mxs-ocotp: 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: Mukesh Ojha <mojha@codeaurora.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>