@@ -440,7 +440,7 @@ static const struct regulator_desc da9121_reg = {
440
440
.of_match = "buck1" ,
441
441
.of_parse_cb = da9121_of_parse_cb ,
442
442
.owner = THIS_MODULE ,
443
- .regulators_node = of_match_ptr ( "regulators" ) ,
443
+ .regulators_node = "regulators" ,
444
444
.of_map_mode = da9121_map_mode ,
445
445
.ops = & da9121_buck_ops ,
446
446
.type = REGULATOR_VOLTAGE ,
@@ -465,7 +465,7 @@ static const struct regulator_desc da9220_reg[2] = {
465
465
.of_match = "buck1" ,
466
466
.of_parse_cb = da9121_of_parse_cb ,
467
467
.owner = THIS_MODULE ,
468
- .regulators_node = of_match_ptr ( "regulators" ) ,
468
+ .regulators_node = "regulators" ,
469
469
.of_map_mode = da9121_map_mode ,
470
470
.ops = & da9121_buck_ops ,
471
471
.type = REGULATOR_VOLTAGE ,
@@ -484,7 +484,7 @@ static const struct regulator_desc da9220_reg[2] = {
484
484
.of_match = "buck2" ,
485
485
.of_parse_cb = da9121_of_parse_cb ,
486
486
.owner = THIS_MODULE ,
487
- .regulators_node = of_match_ptr ( "regulators" ) ,
487
+ .regulators_node = "regulators" ,
488
488
.of_map_mode = da9121_map_mode ,
489
489
.ops = & da9121_buck_ops ,
490
490
.type = REGULATOR_VOLTAGE ,
@@ -506,7 +506,7 @@ static const struct regulator_desc da9122_reg[2] = {
506
506
.of_match = "buck1" ,
507
507
.of_parse_cb = da9121_of_parse_cb ,
508
508
.owner = THIS_MODULE ,
509
- .regulators_node = of_match_ptr ( "regulators" ) ,
509
+ .regulators_node = "regulators" ,
510
510
.of_map_mode = da9121_map_mode ,
511
511
.ops = & da9121_buck_ops ,
512
512
.type = REGULATOR_VOLTAGE ,
@@ -525,7 +525,7 @@ static const struct regulator_desc da9122_reg[2] = {
525
525
.of_match = "buck2" ,
526
526
.of_parse_cb = da9121_of_parse_cb ,
527
527
.owner = THIS_MODULE ,
528
- .regulators_node = of_match_ptr ( "regulators" ) ,
528
+ .regulators_node = "regulators" ,
529
529
.of_map_mode = da9121_map_mode ,
530
530
.ops = & da9121_buck_ops ,
531
531
.type = REGULATOR_VOLTAGE ,
@@ -546,7 +546,7 @@ static const struct regulator_desc da9217_reg = {
546
546
.of_match = "buck1" ,
547
547
.of_parse_cb = da9121_of_parse_cb ,
548
548
.owner = THIS_MODULE ,
549
- .regulators_node = of_match_ptr ( "regulators" ) ,
549
+ .regulators_node = "regulators" ,
550
550
.of_map_mode = da9121_map_mode ,
551
551
.ops = & da9121_buck_ops ,
552
552
.type = REGULATOR_VOLTAGE ,
@@ -573,7 +573,7 @@ static const struct regulator_desc da9141_reg = {
573
573
.of_match = "buck1" ,
574
574
.of_parse_cb = da9121_of_parse_cb ,
575
575
.owner = THIS_MODULE ,
576
- .regulators_node = of_match_ptr ( "regulators" ) ,
576
+ .regulators_node = "regulators" ,
577
577
.of_map_mode = da9121_map_mode ,
578
578
.ops = & da9121_buck_ops ,
579
579
.type = REGULATOR_VOLTAGE ,
@@ -593,7 +593,7 @@ static const struct regulator_desc da9142_reg = {
593
593
.of_match = "buck1" ,
594
594
.of_parse_cb = da9121_of_parse_cb ,
595
595
.owner = THIS_MODULE ,
596
- .regulators_node = of_match_ptr ( "regulators" ) ,
596
+ .regulators_node = "regulators" ,
597
597
.of_map_mode = da9121_map_mode ,
598
598
.ops = & da9121_buck_ops ,
599
599
.type = REGULATOR_VOLTAGE ,
@@ -1195,7 +1195,7 @@ static struct i2c_driver da9121_regulator_driver = {
1195
1195
.driver = {
1196
1196
.name = "da9121" ,
1197
1197
.probe_type = PROBE_PREFER_ASYNCHRONOUS ,
1198
- .of_match_table = of_match_ptr ( da9121_dt_ids ) ,
1198
+ .of_match_table = da9121_dt_ids ,
1199
1199
},
1200
1200
.probe = da9121_i2c_probe ,
1201
1201
.remove = da9121_i2c_remove ,
0 commit comments