summaryrefslogtreecommitdiff
path: root/scripts/livepatch/init.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2025-11-21 13:18:52 +0100
committerKrzysztof Kozlowski <krzk@kernel.org>2025-11-27 16:55:38 +0100
commit990eb9a8eb4540ab90c7b34bb07b87ff13881cad (patch)
tree37ded21c83fde7ecf341edc078af9f2170b43daa /scripts/livepatch/init.c
parent2224ea67c75d0a0b9eaf803d0dfdab8d0c601c35 (diff)
soc: samsung: exynos-pmu: fix device leak on regmap lookup
Make sure to drop the reference taken when looking up the PMU device and its regmap. Note that holding a reference to a device does not prevent its regmap from going away so there is no point in keeping the reference. Fixes: 0b7c6075022c ("soc: samsung: exynos-pmu: Add regmap support for SoCs that protect PMU regs") Cc: stable@vger.kernel.org # 6.9 Cc: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20251121121852.16825-1-johan@kernel.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'scripts/livepatch/init.c')
0 files changed, 0 insertions, 0 deletions