]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mfd: max8925: Fix wakeup source leaks on device unbind
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 6 Apr 2025 19:50:14 +0000 (21:50 +0200)
committerLee Jones <lee@kernel.org>
Fri, 23 May 2025 07:49:11 +0000 (08:49 +0100)
commitfd37695dae093533d444237c86c3181a7339abb4
tree7e6bd06edd0f388b5b9d532722f3d641f4d73ecf
parenta59a56cc4fb1f7d101f7ce1f5396ceaa2e304b71
mfd: max8925: 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/20250406-mfd-device-wakekup-leak-v1-6-318e14bdba0a@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/max8925-i2c.c