summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/rohm-bd70528.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2019-10-18 10:23:49 +0100
committerLee Jones <lee.jones@linaro.org>2019-11-11 08:45:03 +0000
commit2129e56e95f877c71989e7d0391de47f3907a261 (patch)
tree4b3c0882f3b688e2dcf390600ae4a6a83ddf20de /drivers/mfd/rohm-bd70528.c
parent601e4289a01f70fd78b19dc7da0e10b902485ae6 (diff)
downloadlinux-stable-2129e56e95f877c71989e7d0391de47f3907a261.tar.gz
linux-stable-2129e56e95f877c71989e7d0391de47f3907a261.tar.bz2
linux-stable-2129e56e95f877c71989e7d0391de47f3907a261.zip
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>
Diffstat (limited to 'drivers/mfd/rohm-bd70528.c')
0 files changed, 0 insertions, 0 deletions