projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29e5cb6
)
regulator: s2mpa01: Remove unused define for S2MPA01_REGULATOR_CNT
author
Axel Lin
<axel.lin@ingics.com>
Tue, 9 Apr 2019 13:00:42 +0000
(21:00 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 10 Apr 2019 11:22:50 +0000
(12:22 +0100)
The S2MPA01_REGULATOR_CNT is no longer used after converted to use
simplified DT parsing.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/s2mpa01.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/s2mpa01.c
b/drivers/regulator/s2mpa01.c
index
da11ac5
..
51f7e8b
100644
(file)
--- a/
drivers/regulator/s2mpa01.c
+++ b/
drivers/regulator/s2mpa01.c
@@
-17,8
+17,6
@@
#include <linux/mfd/samsung/core.h>
#include <linux/mfd/samsung/s2mpa01.h>
-#define S2MPA01_REGULATOR_CNT ARRAY_SIZE(regulators)
-
struct s2mpa01_info {
int ramp_delay24;
int ramp_delay3;