[PATCH] clk: bcm: iproc-asiu: simplify allocation

Brian Masney bmasney at redhat.com
Mon Mar 30 06:10:48 PDT 2026


On Wed, Mar 25, 2026 at 09:53:24PM -0700, Rosen Penev wrote:
> Use kzalloc_flex and a flexible array member to combine allocations
> 
> While at it, take clk_data out of the struct and move it into probe.
> It's not used anywhere else.
> 
> Signed-off-by: Rosen Penev <rosenp at gmail.com>

Reviewed-by: Brian Masney <bmasney at redhat.com>




More information about the linux-arm-kernel mailing list