Re: [PATCH] rtc: snvs: use devm_platform_ioremap_resource() to simplify code

2019-04-01 Thread Alexandre Belloni
On 01/04/2019 05:29:13+, 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 > --- > drivers/rtc/rtc-snvs.c | 4 +--- > 1 file changed,

Re: [PATCH] rtc: snvs: use devm_platform_ioremap_resource() to simplify code

2019-04-01 Thread Mukesh Ojha
On 4/1/2019 10:59 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 --- drivers/rtc/rtc-snvs.c | 4 +--- 1 file changed, 1 insertion(+), 3

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