[PATCH v3 1/6] soc: samsung: exynos-chipid: use devm action to unregister soc device
André Draszik
andre.draszik at linaro.org
Fri Dec 19 06:53:58 PST 2025
On Thu, 2025-11-20 at 11:29 +0000, Tudor Ambarus wrote:
> Simplify the unwinding of the soc device by using a devm action.
> Add the action before the exynos_asv_init() to avoid an explicit call
> to soc_device_unregister().
>
> Signed-off-by: Tudor Ambarus <tudor.ambarus at linaro.org>
> ---
> drivers/soc/samsung/exynos-chipid.c | 28 ++++++++++++----------------
> 1 file changed, 12 insertions(+), 16 deletions(-)
Reviewed-by: André Draszik <andre.draszik at linaro.org>
More information about the linux-arm-kernel
mailing list