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

From: Alexandre Belloni
Date: Mon Jul 22 2019 - 16:39:04 EST


On 17/07/2019 16:12:17+0800, Anson.Huang@xxxxxxx wrote:
> From: Anson Huang <Anson.Huang@xxxxxxx>
>
> 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-mxc_v2.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
Applied, thanks.

--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com