]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mfd: arizona: Lower ARIZONA_MAX_CORE_SUPPLIES to 2
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 2 Jun 2014 08:50:43 +0000 (09:50 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 9 Jul 2014 13:58:05 +0000 (14:58 +0100)
There are no Arizona devices with 3 core supplies but we define a fix
array with space for 3 core supplies. Lower the ARIZONA_MAX_CORE_SUPPLIES
define to 2, to save a few bytes.

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

index 6d9371f88875d49c223f07f42401b1d1ed6f4bde..70854d892760f8dc491b195644535773e0de446a 100644 (file)
@@ -18,7 +18,7 @@
 #include <linux/regulator/consumer.h>
 #include <linux/mfd/arizona/pdata.h>
 
-#define ARIZONA_MAX_CORE_SUPPLIES 3
+#define ARIZONA_MAX_CORE_SUPPLIES 2
 
 enum arizona_type {
        WM5102 = 1,