@@ -131,8 +131,8 @@ static const struct regulator_ops hi6421_buck345_ops;
131
131
[HI6421_##_id] = { \
132
132
.desc = { \
133
133
.name = #_id, \
134
- .of_match = of_match_ptr( #_match), \
135
- .regulators_node = of_match_ptr( "regulators"), \
134
+ .of_match = #_match, \
135
+ .regulators_node = "regulators", \
136
136
.ops = &hi6421_ldo_ops, \
137
137
.type = REGULATOR_VOLTAGE, \
138
138
.id = HI6421_##_id, \
@@ -170,8 +170,8 @@ static const struct regulator_ops hi6421_buck345_ops;
170
170
[HI6421_##_id] = { \
171
171
.desc = { \
172
172
.name = #_id, \
173
- .of_match = of_match_ptr( #_match), \
174
- .regulators_node = of_match_ptr( "regulators"), \
173
+ .of_match = #_match, \
174
+ .regulators_node = "regulators", \
175
175
.ops = &hi6421_ldo_linear_ops, \
176
176
.type = REGULATOR_VOLTAGE, \
177
177
.id = HI6421_##_id, \
@@ -210,8 +210,8 @@ static const struct regulator_ops hi6421_buck345_ops;
210
210
[HI6421_##_id] = { \
211
211
.desc = { \
212
212
.name = #_id, \
213
- .of_match = of_match_ptr( #_match), \
214
- .regulators_node = of_match_ptr( "regulators"), \
213
+ .of_match = #_match, \
214
+ .regulators_node = "regulators", \
215
215
.ops = &hi6421_ldo_linear_range_ops, \
216
216
.type = REGULATOR_VOLTAGE, \
217
217
.id = HI6421_##_id, \
@@ -247,8 +247,8 @@ static const struct regulator_ops hi6421_buck345_ops;
247
247
[HI6421_##_id] = { \
248
248
.desc = { \
249
249
.name = #_id, \
250
- .of_match = of_match_ptr( #_match), \
251
- .regulators_node = of_match_ptr( "regulators"), \
250
+ .of_match = #_match, \
251
+ .regulators_node = "regulators", \
252
252
.ops = &hi6421_buck012_ops, \
253
253
.type = REGULATOR_VOLTAGE, \
254
254
.id = HI6421_##_id, \
@@ -284,8 +284,8 @@ static const struct regulator_ops hi6421_buck345_ops;
284
284
[HI6421_##_id] = { \
285
285
.desc = { \
286
286
.name = #_id, \
287
- .of_match = of_match_ptr( #_match), \
288
- .regulators_node = of_match_ptr( "regulators"), \
287
+ .of_match = #_match, \
288
+ .regulators_node = "regulators", \
289
289
.ops = &hi6421_buck345_ops, \
290
290
.type = REGULATOR_VOLTAGE, \
291
291
.id = HI6421_##_id, \
0 commit comments