diff options
| author | Felix Gu <ustc.gu@gmail.com> | 2026-03-09 15:16:15 +0300 |
|---|---|---|
| committer | Conor Dooley <conor.dooley@microchip.com> | 2026-03-19 18:55:16 +0300 |
| commit | 3bfc213d4675736567a4e263c51c25144d565949 (patch) | |
| tree | d7769723a108d1753239ebc265c53f5c3d97cbfb /include | |
| parent | 27459f86a43792d5c29f267a41dbd387601e772b (diff) | |
| download | linux-3bfc213d4675736567a4e263c51c25144d565949.tar.xz | |
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: 4aac11c9a6e7 ("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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
