]> www.infradead.org Git - linux.git/commit
power: supply: gpio-charger: Fix wakeup source leaks on device unbind
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 6 Apr 2025 20:27:30 +0000 (22:27 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 8 Apr 2025 21:18:04 +0000 (23:18 +0200)
commit51212ce95354c5b51e8c3054bf80eeeed80003b6
treed2329e6a0fdbd53fcf0d8b517a714af959e806dc
parentc73d19f89cb03c43abbbfa3b9caa1b8fc719764c
power: supply: gpio-charger: 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-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/gpio-charger.c