Files
erofs-linux/drivers/mfd
Abdun Nihaal 83feedd9d8 mfd: sm501: Fix potential memory leaks during remove
The memory allocated for struct sm501_devdata in sm501_pci_probe() and
sm501_plat_probe() is not freed by the corresponding remove functions
sm501_pci_remove() and sm501_plat_remove(). Fix that by adding a call to
kfree().

Fixes: b6d6454fdb ("[PATCH] mfd: SM501 core driver")
Cc: [email protected]
Signed-off-by: Abdun Nihaal <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Lee Jones <[email protected]>
2026-08-06 14:04:09 +01:00
..
…
…
…
2026-06-17 11:30:35 +01:00
…
…
2025-09-16 15:24:48 +01:00
…
…
…
…
2026-01-20 14:57:41 +00:00
2026-01-20 14:57:41 +00:00
2026-06-17 11:31:13 +01:00
…
…
2026-06-17 11:33:08 +01:00
…
2026-06-17 11:26:50 +01:00
…
2025-05-16 21:06:10 +02:00
…
2026-06-17 11:32:56 +01:00
…
…