File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,11 +84,11 @@ static unsigned int tps6286x_of_map_mode(unsigned int mode)
84
84
85
85
static const struct regulator_desc tps6286x_reg = {
86
86
.name = "tps6286x" ,
87
- .of_match = of_match_ptr ( "SW" ) ,
87
+ .of_match = "SW" ,
88
88
.owner = THIS_MODULE ,
89
89
.ops = & tps6286x_regulator_ops ,
90
90
.of_map_mode = tps6286x_of_map_mode ,
91
- .regulators_node = of_match_ptr ( "regulators" ) ,
91
+ .regulators_node = "regulators" ,
92
92
.type = REGULATOR_VOLTAGE ,
93
93
.n_voltages = ((TPS6286X_MAX_MV - TPS6286X_MIN_MV ) / TPS6286X_STEP_MV ) + 1 ,
94
94
.min_uV = TPS6286X_MIN_MV * 1000 ,
@@ -148,7 +148,7 @@ static struct i2c_driver tps6286x_regulator_driver = {
148
148
.driver = {
149
149
.name = "tps6286x" ,
150
150
.probe_type = PROBE_PREFER_ASYNCHRONOUS ,
151
- .of_match_table = of_match_ptr ( tps6286x_dt_ids ) ,
151
+ .of_match_table = tps6286x_dt_ids ,
152
152
},
153
153
.probe = tps6286x_i2c_probe ,
154
154
.id_table = tps6286x_i2c_id ,
You can’t perform that action at this time.
0 commit comments