From: Axel Lin Date: Tue, 9 Apr 2019 13:00:42 +0000 (+0800) Subject: regulator: s2mpa01: Remove unused define for S2MPA01_REGULATOR_CNT X-Git-Tag: v5.2-rc1~174^2^2~50 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6e1f22ee7e4874c357a95a87f3ebc6eb093562dc;p=uclinux-h8%2Flinux.git 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 Signed-off-by: Mark Brown --- 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 #include -#define S2MPA01_REGULATOR_CNT ARRAY_SIZE(regulators) - struct s2mpa01_info { int ramp_delay24; int ramp_delay3;