diff options
Diffstat (limited to 'drivers/regulator/tps6524x-regulator.c')
-rw-r--r-- | drivers/regulator/tps6524x-regulator.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/regulator/tps6524x-regulator.c b/drivers/regulator/tps6524x-regulator.c index 2e94686b6fe6..4a421be6d4f2 100644 --- a/drivers/regulator/tps6524x-regulator.c +++ b/drivers/regulator/tps6524x-regulator.c | |||
@@ -108,9 +108,7 @@ | |||
108 | #define N_DCDC 3 | 108 | #define N_DCDC 3 |
109 | #define N_LDO 2 | 109 | #define N_LDO 2 |
110 | #define N_SWITCH 2 | 110 | #define N_SWITCH 2 |
111 | #define N_REGULATORS (3 /* DCDC */ + \ | 111 | #define N_REGULATORS (N_DCDC + N_LDO + N_SWITCH) |
112 | 2 /* LDO */ + \ | ||
113 | 2 /* switch */) | ||
114 | 112 | ||
115 | #define FIXED_ILIMSEL BIT(0) | 113 | #define FIXED_ILIMSEL BIT(0) |
116 | #define FIXED_VOLTAGE BIT(1) | 114 | #define FIXED_VOLTAGE BIT(1) |