[PATCHv2] ARM: omap2: simplify allocation for omap_device

Kevin Hilman khilman at baylibre.com
Mon Mar 30 14:20:49 PDT 2026


Rosen Penev <rosenp at gmail.com> 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 at gmail.com>

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



More information about the linux-arm-kernel mailing list