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

From: Alexandre Belloni
Date: Mon Apr 01 2019 - 09:12:02 EST


On 01/04/2019 05:21:43+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-mxc.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Applied, thanks.

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