Skip to content

Commit

Permalink
regulator: s2mpa01: Remove unused define for S2MPA01_REGULATOR_CNT
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Mark Brown committed Apr 10, 2019
1 parent 29e5cb6 commit 6e1f22e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/regulator/s2mpa01.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6e1f22e

Please sign in to comment.