mfd: arizona: Disable DCVDD before we destroy the MFD
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 2 Jun 2014 08:50:40 +0000 (09:50 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 9 Jul 2014 13:58:03 +0000 (14:58 +0100)
commitdf6b3352d88560459d4a4926b36409334332f2cb
tree7ec9d09fc46cf9b90ddd92040e3d002c8507a241
parentb804020adadae5ebe82850bd82e29f224d044164
mfd: arizona: Disable DCVDD before we destroy the MFD

As DCVDD is probably supplied by a child of the MFD device move its
disable to before we destroy the MFD children as the regulator likely
won't exist after that.

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