mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
soc: versatile: realview: fix soc_dev leak during device remove
[ Upstream commitc774f2564c] If device is unbound, the soc_dev should be unregistered to prevent memory leak. Fixes:a2974c9c1f("soc: add driver for the ARM RealView") Cc: stable@vger.kernel.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/20240825-soc-dev-fixes-v1-3-ff4b35abed83@linaro.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
5eae90b24f
commit
23c84724ae
1 changed files with 13 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue