Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Axel Lin and committed by
Mark Brown
6e1f22ee 29e5cb65

-2
-2
drivers/regulator/s2mpa01.c
··· 17 17 #include <linux/mfd/samsung/core.h> 18 18 #include <linux/mfd/samsung/s2mpa01.h> 19 19 20 - #define S2MPA01_REGULATOR_CNT ARRAY_SIZE(regulators) 21 - 22 20 struct s2mpa01_info { 23 21 int ramp_delay24; 24 22 int ramp_delay3;