mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] regulator: s2mpa01: Remove unused define for S2MPA01_REGULATOR_CNT
@ 2019-04-09 13:00 Axel Lin
  0 siblings, 0 replies; only message in thread
From: Axel Lin @ 2019-04-09 13:00 UTC (permalink / raw)
  To: Mark Brown
  Cc: Sachin Kamat, Krzysztof Kozlowski, Liam Girdwood, linux-kernel, Axel Lin

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

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/regulator/s2mpa01.c | 2 --
 1 file changed, 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;
-- 
2.17.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-09 13:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-09 13:00 [PATCH] regulator: s2mpa01: Remove unused define for S2MPA01_REGULATOR_CNT Axel Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®