projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94732b9
)
regulator: tps6524x: Remove unneeded comment for N_REGULATORS
author
Axel Lin
<axel.lin@gmail.com>
Fri, 9 Mar 2012 03:37:30 +0000
(11:37 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Sun, 11 Mar 2012 20:49:34 +0000
(20:49 +0000)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/tps6524x-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/tps6524x-regulator.c
b/drivers/regulator/tps6524x-regulator.c
index 70b7b1f4f000e1f779ecdb2c2dbfaf3de4b11274..60846e00c167157679301586961f3382cb88029b 100644
(file)
--- a/
drivers/regulator/tps6524x-regulator.c
+++ b/
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)