Loading
soc: microchip: mpfs-mss-top-sysreg: Fix resource leak on driver unbind
Use devm_mfd_add_devices() instead of mfd_add_devices() to ensure child devices are properly removed when the driver unbinds. Fixes: 4aac11c9 ("soc: microchip: add mfd drivers for two syscon regions on PolarFire SoC") Signed-off-by:Felix Gu <ustc.gu@gmail.com> Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>