[PATCH 03/11] soc: samsung: exynos-chipid: use heap allocated driver data

Krzysztof Kozlowski krzk at kernel.org
Mon Nov 3 02:03:58 PST 2025


On Fri, Oct 31, 2025 at 12:56:02PM +0000, Tudor Ambarus wrote:
> Prepare for GS101 chipid addition, it will requre more driver data. Use
> heap allocated driver data, it's easily extensible. Together with

Moving from stack to heap does not give you "extensibility". It is
extensible in current form as well. It allows to use it past probe,
which probably is what you wanted for some reason.

> the change s/soc_info/exynos_chipid, it better indicates that it is the
> driver data structure.
> 
> Signed-off-by: Tudor Ambarus <tudor.ambarus at linaro.org>

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list