mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-12 08:09:56 +00:00
regulator: Switch two more i2c drivers back to use .probe()
The previous conversion back to .probe done in commit 964e186547b2 ("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 <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230611203559.827168-1-u.kleine-koenig@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
2f2f43dd21
commit
d692cc6192
@ -282,7 +282,7 @@ static struct i2c_driver rt5739_driver = {
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.of_match_table = rt5739_device_table,
|
||||
},
|
||||
.probe_new = rt5739_probe,
|
||||
.probe = rt5739_probe,
|
||||
};
|
||||
module_i2c_driver(rt5739_driver);
|
||||
|
||||
|
@ -178,7 +178,7 @@ static struct i2c_driver tps6287x_regulator_driver = {
|
||||
.name = "tps6287x",
|
||||
.of_match_table = tps6287x_dt_ids,
|
||||
},
|
||||
.probe_new = tps6287x_i2c_probe,
|
||||
.probe = tps6287x_i2c_probe,
|
||||
.id_table = tps6287x_i2c_id,
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user