diff options
author | Lee Jones <[email protected]> | 2019-10-18 10:23:49 +0100 |
---|---|---|
committer | Lee Jones <[email protected]> | 2019-11-11 08:45:03 +0000 |
commit | 2129e56e95f877c71989e7d0391de47f3907a261 (patch) | |
tree | 4b3c0882f3b688e2dcf390600ae4a6a83ddf20de /lib/mpi/mpiutil.c | |
parent | 601e4289a01f70fd78b19dc7da0e10b902485ae6 (diff) |
mfd: cs5535-mfd: Remove mfd_cell->id hack
The current implementation abuses the platform 'id' mfd_cell member
to index into the correct resources entry. Seeing as enough resource
slots are already available, let's just loop through all available
bars and allocate them to their appropriate slot, even if they happen
to be zero.
Signed-off-by: Lee Jones <[email protected]>
Reviewed-by: Daniel Thompson <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions