Re: [PATCH] clk: fix devm_platform_ioremap_resource.cocci warnings

From: Stephen Boyd
Date: Fri Sep 06 2019 - 13:30:38 EST


Quoting Julia Lawall (2019-08-08 09:10:53)
> From: kbuild test robot <lkp@xxxxxxxxx>
>
> drivers/clk/bcm/clk-bcm63xx-gate.c:174:1-9: WARNING: Use devm_platform_ioremap_resource for hw -> regs
>
> Use devm_platform_ioremap_resource helper which wraps
> platform_get_resource() and devm_ioremap_resource() together.
>
> Generated by: scripts/coccinelle/api/devm_platform_ioremap_resource.cocci
>
> Fixes: 1c099779c1e2 ("clk: add BCM63XX gated clock controller driver")
> CC: Jonas Gorski <jonas.gorski@xxxxxxxxx>
> Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
> Signed-off-by: Julia Lawall <julia.lawall@xxxxxxx>
> ---

Applied to clk-next