(subset) [PATCH v2] mfd: ab8500: fix child device leaks on probe failure
Lee Jones
lee at kernel.org
Wed Oct 14 08:20:09 PDT 2026
On Thu, 24 Sep 2026 22:43:55 +0800, Guangshuo Li wrote:
> ab8500_probe() registers MFD child devices before completing the
> remaining device initialization. If a later MFD registration or sysfs
> group creation fails, previously registered child devices are not
> removed.
>
> Use devm_mfd_add_devices() so registered MFD child devices are removed
> when probe fails.
>
> [...]
Applied, thanks!
[1/1] mfd: ab8500: fix child device leaks on probe failure
commit: 5bf2ae8b131d4ae9c0ed5f7aa02532645f512022
--
Lee Jones [李琼斯]
More information about the linux-arm-kernel
mailing list