Re: [PATCHv2] ARM: omap2: simplify allocation for omap_device

From: Kevin Hilman

Date: Mon Mar 30 2026 - 17:22:21 EST


Rosen Penev <rosenp@xxxxxxxxx> writes:

> Use a flexible array member to combine allocations.
>
> Add __counted_by for extra runtime analysis.
>
> Remove goto paths as they are not really needed anymore.
>
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>

Could you please add a bit more explanation about the *why* behind this
patch. Your description tells us *what* you are doing, but is a bit
light on the *why*.

Thanks,

Kevin