diff options
author | Nuno Sá <nuno.sa@analog.com> | 2025-07-01 15:31:57 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2025-07-01 21:50:50 +0100 |
commit | 175f199085c1253d2683f583ce32b2e02cd70de1 (patch) | |
tree | 877037e54e965f05f33010548d5f68102ccede08 /rust/helpers/pci.c | |
parent | 09d55a54b466d60a71573c78a99a901410ef73e0 (diff) |
mfd: adp5585: Only add devices given in FW
Not all devices (features) of the adp5585 device are mandatory to be
used in all platforms. Hence, check what's given in FW and dynamically
create the mfd_cell array to be given to devm_mfd_add_devices().
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20250701-dev-adp5589-fw-v7-2-b1fcfe9e9826@analog.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions