Re: [PATCH v2] coccinelle: api: add devm_platform_ioremap_resource script

From: Masahiro Yamada
Date: Wed Jul 17 2019 - 09:34:56 EST


On Tue, Jul 16, 2019 at 2:52 PM Himanshu Jha
<himanshujha199640@xxxxxxxxx> wrote:
>
> Use recently introduced devm_platform_ioremap_resource
> helper which wraps platform_get_resource() and
> devm_ioremap_resource() together. This helps produce much
> cleaner code and remove local `struct resource` declaration.
>
> Signed-off-by: Himanshu Jha <himanshujha199640@xxxxxxxxx>
> Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxx>
> ---

Applied to linux-kbuild. Thanks.

--
Best Regards
Masahiro Yamada