Re: [PATCH 1/2] char: hw_random: imx-rngc: use devm_platform_ioremap_resource() to simplify code

From: Arnd Bergmann
Date: Wed Jul 17 2019 - 06:14:01 EST


On Wed, Jul 17, 2019 at 11:14 AM <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>

Both patches

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>