Viresh Kumar 3cfc43df7a mfd: wm8994-core: Disable regulators before removing them
The order in which resources were freed in wm8994_device_exit() isn't
correct. The regulators are removed before they are disabled.

Fix it by reordering code a bit, which makes it exact opposite of
wm8994_device_init() as well.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2016-11-25 11:09:05 +00:00
..
2016-04-19 07:58:06 +01:00
2016-10-04 15:48:01 +01:00
2016-08-31 10:50:59 +01:00
2015-11-06 10:23:50 -08:00
2016-05-20 11:10:24 -07:00
2016-10-07 08:35:35 -07:00
2016-10-07 08:35:35 -07:00
2016-08-01 07:28:14 -04:00
2016-08-31 13:48:25 +01:00
2015-10-30 17:19:51 +00:00
2015-10-30 17:19:51 +00:00
2016-08-10 09:25:18 +01:00
2016-08-10 09:25:18 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:09:01 +01:00
2015-09-04 11:46:02 -07:00