Skip to content

Commit d692cc6

Browse files
Uwe Kleine-Königbroonie
authored andcommitted
regulator: Switch two more i2c drivers back to use .probe()
The previous conversion back to .probe done in commit 964e186 ("regulator: Switch i2c drivers back to use .probe()") was done based on v6.3. Since then two more drivers were added which need to be convert back in the same way before eventually .probe_new() can be dropped from struct i2c_driver. Signed-off-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 2f2f43d commit d692cc6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/regulator/rt5739.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ static struct i2c_driver rt5739_driver = {
282282
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
283283
.of_match_table = rt5739_device_table,
284284
},
285-
.probe_new = rt5739_probe,
285+
.probe = rt5739_probe,
286286
};
287287
module_i2c_driver(rt5739_driver);
288288

drivers/regulator/tps6287x-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ static struct i2c_driver tps6287x_regulator_driver = {
178178
.name = "tps6287x",
179179
.of_match_table = tps6287x_dt_ids,
180180
},
181-
.probe_new = tps6287x_i2c_probe,
181+
.probe = tps6287x_i2c_probe,
182182
.id_table = tps6287x_i2c_id,
183183
};
184184

0 commit comments

Comments
 (0)