Re: [PATCH 2/3] nvmem: mxs-ocotp: use devm_platform_ioremap_resource() to simplify code

2019-04-01 Thread Mukesh Ojha
On 4/1/2019 10:29 AM, Anson Huang wrote: 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 Reviewed-by: Mukesh Ojha Cheers, -Mukesh --- drivers/nvmem/mxs-oco

[PATCH 2/3] nvmem: mxs-ocotp: use devm_platform_ioremap_resource() to simplify code

2019-03-31 Thread Anson Huang
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 --- drivers/nvmem/mxs-ocotp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/nvmem/mx