mirror of
https://github.com/torvalds/linux.git
synced 2026-05-14 17:32:42 +02:00
The driver calls mfd_add_devices() but fails to call mfd_remove_devices()
in error paths after successful MFD device registration and in the remove
function. This leads to resource leaks where MFD child devices are not
properly unregistered.
Replace mfd_add_devices with devm_mfd_add_devices to automatically
manage the device resources.
Fixes:
|
||
|---|---|---|
| .. | ||
| pef2256 | ||
| framer-core.c | ||
| Kconfig | ||
| Makefile | ||