Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Uwe Kleine-König and committed by
Mark Brown
d692cc61 2f2f43dd

+2 -2
+1 -1
drivers/regulator/rt5739.c
··· 282 282 .probe_type = PROBE_PREFER_ASYNCHRONOUS, 283 283 .of_match_table = rt5739_device_table, 284 284 }, 285 - .probe_new = rt5739_probe, 285 + .probe = rt5739_probe, 286 286 }; 287 287 module_i2c_driver(rt5739_driver); 288 288
+1 -1
drivers/regulator/tps6287x-regulator.c
··· 178 178 .name = "tps6287x", 179 179 .of_match_table = tps6287x_dt_ids, 180 180 }, 181 - .probe_new = tps6287x_i2c_probe, 181 + .probe = tps6287x_i2c_probe, 182 182 .id_table = tps6287x_i2c_id, 183 183 }; 184 184