summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/s2mpa01.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2019-04-09 15:00:42 +0200
committerMark Brown <broonie@kernel.org>2019-04-10 13:22:50 +0200
commit6e1f22ee7e4874c357a95a87f3ebc6eb093562dc (patch)
tree971be5ab8b243d6ccbb73dc3bbdde368512059f3 /drivers/regulator/s2mpa01.c
parentregulator: hi655x: Remove ctrl_mask field from struct hi655x_regulator (diff)
downloadlinux-6e1f22ee7e4874c357a95a87f3ebc6eb093562dc.tar.xz
linux-6e1f22ee7e4874c357a95a87f3ebc6eb093562dc.zip
regulator: s2mpa01: Remove unused define for S2MPA01_REGULATOR_CNT
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>
Diffstat (limited to 'drivers/regulator/s2mpa01.c')
-rw-r--r--drivers/regulator/s2mpa01.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/regulator/s2mpa01.c b/drivers/regulator/s2mpa01.c
index da11ac5c09f2..51f7e8b74d8c 100644
--- 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;