From a879b46249926b1bd5261c8d520dc4a1fe29ac88 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Fri, 9 Mar 2012 11:37:30 +0800 Subject: [PATCH] --- yaml --- r: 292056 b: refs/heads/master c: 4d984d1cd838435cf1180ab9ffbab24cfdbf7515 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/regulator/tps6524x-regulator.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 6ed89397e784..4b1e011749f3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 94732b97c39859427cf99c34fc9de9750be7e5a5 +refs/heads/master: 4d984d1cd838435cf1180ab9ffbab24cfdbf7515 diff --git a/trunk/drivers/regulator/tps6524x-regulator.c b/trunk/drivers/regulator/tps6524x-regulator.c index 70b7b1f4f000..60846e00c167 100644 --- a/trunk/drivers/regulator/tps6524x-regulator.c +++ b/trunk/drivers/regulator/tps6524x-regulator.c @@ -108,9 +108,7 @@ #define N_DCDC 3 #define N_LDO 2 #define N_SWITCH 2 -#define N_REGULATORS (3 /* DCDC */ + \ - 2 /* LDO */ + \ - 2 /* switch */) +#define N_REGULATORS (N_DCDC + N_LDO + N_SWITCH) #define FIXED_ILIMSEL BIT(0) #define FIXED_VOLTAGE BIT(1)