diff options
author | Anson Huang <anson.huang@nxp.com> | 2019-04-13 12:32:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-25 19:43:12 +0200 |
commit | 3b26cd885853764aed83828429f5c50787cfc55a (patch) | |
tree | 47329cd384268b69dde23f8db29963d342e9398b /drivers/nvmem/mxs-ocotp.c | |
parent | nvmem: core: fix read buffer in place (diff) | |
download | linux-3b26cd885853764aed83828429f5c50787cfc55a.tar.xz linux-3b26cd885853764aed83828429f5c50787cfc55a.zip |
nvmem: imx-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>
Diffstat (limited to 'drivers/nvmem/mxs-ocotp.c')
0 files changed, 0 insertions, 0 deletions