commit | 2129e56e95f877c71989e7d0391de47f3907a261 | [log] [tgz] |
---|---|---|
author | Lee Jones <lee.jones@linaro.org> | Fri Oct 18 10:23:49 2019 +0100 |
committer | Lee Jones <lee.jones@linaro.org> | Mon Nov 11 08:45:03 2019 +0000 |
tree | 4b3c0882f3b688e2dcf390600ae4a6a83ddf20de | |
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 <lee.jones@linaro.org> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>