Re: [PATCH] rtc: snvs: use devm_platform_ioremap_resource() to simplify code
From: Alexandre Belloni
Date: Mon Apr 01 2019 - 09:12:17 EST
On 01/04/2019 05:29:13+0000, 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 <Anson.Huang@xxxxxxx>
> ---
> drivers/rtc/rtc-snvs.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
Applied, thanks.
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com