power: supply: collie: Fix wakeup source leaks on device unbind
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 6 Apr 2025 20:27:29 +0000 (22:27 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 8 Apr 2025 21:18:04 +0000 (23:18 +0200)
commitc73d19f89cb03c43abbbfa3b9caa1b8fc719764c
treeadb6384ceb9182b1d6f10c4cbdd16f5aebf14574
parent13b5a9e4ca16fd45d395cbfcb78a0551fe17e56e
power: supply: collie: Fix wakeup source leaks on device unbind

Device can be unbound, so driver must also release memory for the wakeup
source.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250406202730.55096-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/collie_battery.c