Charles Keepax 4420286e04 mfd: arizona: Use num_core_supplies in arizona_dev_exit
Currently we call regulator_bulk_disable with
ARRAY_SIZE(arizona->core_supplies), however this array may be larger
than the number of supplies actually used by the chip we are dealing
with. Use the provided num_core_supplies member instead, so that we only
disable supplies which actually exist.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2014-07-09 14:58:04 +01:00
..
2013-10-23 16:20:44 +01:00
2013-07-31 13:01:29 +01:00
2014-06-26 13:34:15 +01:00
2014-03-19 08:58:37 +00:00
2014-06-06 12:08:39 -07:00
2014-06-03 08:11:49 +01:00
2013-07-31 13:01:29 +01:00
2013-08-20 03:16:00 +02:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2014-07-09 14:57:59 +01:00
2013-07-31 13:01:29 +01:00
2012-09-23 20:51:34 +02:00
2013-07-31 13:01:29 +01:00
2014-01-21 08:28:08 +00:00
2013-04-09 12:18:16 +02:00
2014-06-06 12:08:39 -07:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00