[PATCH] clk: use devm_platform_get_and_ioremap_resource()

Stephen Boyd sboyd at kernel.org
Fri Dec 9 12:25:08 PST 2022


Quoting ye.xingchen at zte.com.cn (2022-11-21 17:48:41)
> From: Minghao Chi <chi.minghao at zte.com.cn>
> 
> Convert platform_get_resource(), devm_ioremap_resource() to a single
> call to devm_platform_get_and_ioremap_resource(), as this is exactly
> what this function does.
> 
> Signed-off-by: Minghao Chi <chi.minghao at zte.com.cn>
> Signed-off-by: ye xingchen <ye.xingchen at zte.com.cn>

Please fix the subject.

 $ git log --oneline -2 -- drivers/clk/clk-bm1880.c
 c861c1be3897 clk: bm1880: remove kfrees on static allocations
 59ef4da4e408 clk: bm1800: Remove set but not used variable 'fref'

And then get Mani to ack it.



More information about the linux-arm-kernel mailing list