Skip to contentSkip to conversation

regulator: s2mpa01: Remove unused define for S2MPA01_REGULATOR_CNT

PATCH New Axel Lin 1 participant 1 message Apr 9, 2019

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 regulator: s2mpa01: Remove unused define for S2MPA01_REGULATOR_CNT

The S2MPA01_REGULATOR_CNT is no longer used after converted to use simplified DT parsing.

---
 drivers/regulator/s2mpa01.c | 2 --
 1 file changed, 2 deletions(-)
drivers/regulator/s2mpa01.c +0 -2
index da11ac5c09f2..51f7e8b74d8c 100644
@@ -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;
Signature · 1 line
2.17.1