From: Charles Keepax Date: Mon, 2 Jun 2014 08:50:43 +0000 (+0100) Subject: mfd: arizona: Lower ARIZONA_MAX_CORE_SUPPLIES to 2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bdbc736da636956a40435f5f41d2be6af544c3fb;p=linux-beck.git mfd: arizona: Lower ARIZONA_MAX_CORE_SUPPLIES to 2 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 Signed-off-by: Lee Jones --- diff --git a/include/linux/mfd/arizona/core.h b/include/linux/mfd/arizona/core.h index 6d9371f88875..70854d892760 100644 --- a/include/linux/mfd/arizona/core.h +++ b/include/linux/mfd/arizona/core.h @@ -18,7 +18,7 @@ #include #include -#define ARIZONA_MAX_CORE_SUPPLIES 3 +#define ARIZONA_MAX_CORE_SUPPLIES 2 enum arizona_type { WM5102 = 1,