Re: [PATCH 2/2] soc: imx: gpcv2: use devm_platform_ioremap_resource() to simplify code

2019-04-01 Thread Mukesh Ojha
On 4/1/2019 11:37 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/soc/imx/gpcv2.

[PATCH 2/2] soc: imx: gpcv2: 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/soc/imx/gpcv2.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/soc/imx/gp