mfd: arizona: Update device ordering to allow clean driver removal
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Fri, 15 Apr 2016 12:18:47 +0000 (13:18 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 9 May 2016 07:20:37 +0000 (08:20 +0100)
commitf83c218c1705a0d38fb9791bdee268c4092a37cb
treeabb9d7833ed6dc9a2e64e99f3f527d628a79e90a
parent1387ff53568ba409eef072087fa02359b3a3551b
mfd: arizona: Update device ordering to allow clean driver removal

Since this commit:

commit b9a8a271c38f ("mfd: make mfd_remove_devices() iterate in reverse
order")

The order in which the MFD children remove has been reversed, as our
driver contains some dependencies between the devices we need to make
some changes to ensure the driver unloads cleanly.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/arizona-core.c