Re: [PATCH] gpio: mxc: use devm_platform_ioremap_resource() to simplify code

2019-04-01 Thread Mukesh Ojha
On 4/1/2019 10:39 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/gpio/gpio-mxc

Re: [PATCH] gpio: mxc: use devm_platform_ioremap_resource() to simplify code

2019-04-01 Thread Bartosz Golaszewski
pon., 1 kwi 2019 o 07:09 Anson Huang napisaƂ(a): > > 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/gpio/gpio-mxc.c | 4 +--- > 1 file chang

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