Skip to content

Commit 9992ef4

Browse files
broonieLiam Girdwood
authored andcommitted
regulator: Remove duplicate consts from ab3100
'static const int const' means the same thing as 'static const int' and sparse complains about this. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
1 parent 638f85c commit 9992ef4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎drivers/regulator/ab3100.c‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static const u8 ab3100_reg_init_order[AB3100_NUM_REGULATORS+2] = {
8181
#define LDO_C_VOLTAGE 2650000
8282
#define LDO_D_VOLTAGE 2650000
8383

84-
static const int const ldo_e_buck_typ_voltages[] = {
84+
static const int ldo_e_buck_typ_voltages[] = {
8585
1800000,
8686
1400000,
8787
1300000,
@@ -91,7 +91,7 @@ static const int const ldo_e_buck_typ_voltages[] = {
9191
900000,
9292
};
9393

94-
static const int const ldo_f_typ_voltages[] = {
94+
static const int ldo_f_typ_voltages[] = {
9595
1800000,
9696
1400000,
9797
1300000,
@@ -102,21 +102,21 @@ static const int const ldo_f_typ_voltages[] = {
102102
2650000,
103103
};
104104

105-
static const int const ldo_g_typ_voltages[] = {
105+
static const int ldo_g_typ_voltages[] = {
106106
2850000,
107107
2750000,
108108
1800000,
109109
1500000,
110110
};
111111

112-
static const int const ldo_h_typ_voltages[] = {
112+
static const int ldo_h_typ_voltages[] = {
113113
2750000,
114114
1800000,
115115
1500000,
116116
1200000,
117117
};
118118

119-
static const int const ldo_k_typ_voltages[] = {
119+
static const int ldo_k_typ_voltages[] = {
120120
2750000,
121121
1800000,
122122
};

0 commit comments

Comments
 (0)