]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc: samsung: exynos-chipid: use devm action to unregister soc device
authorTudor Ambarus <tudor.ambarus@linaro.org>
Thu, 20 Nov 2025 11:29:35 +0000 (11:29 +0000)
committerKrzysztof Kozlowski <krzk@kernel.org>
Sun, 21 Dec 2025 13:36:36 +0000 (14:36 +0100)
commit1b3376d2167766e9f5ac05a03ca4625777090ce7
tree04c4de281dfc47bb6e60a1f8160b6b5931af5d30
parentce39d255dea5ff7d618ef44f61776545481793a1
soc: samsung: exynos-chipid: use devm action to unregister soc device

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@linaro.org>
Reviewed-by: André Draszik <andre.draszik@linaro.org>
Link: https://patch.msgid.link/20251120-gs101-chipid-v3-1-1aeaa8b7fe35@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
drivers/soc/samsung/exynos-chipid.c