From: Uwe Kleine-König Date: Sun, 11 Jun 2023 20:35:59 +0000 (+0200) Subject: regulator: Switch two more i2c drivers back to use .probe() X-Git-Tag: v6.5-rc1~171^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d692cc619247addcb9336c220ea1face91b365f0;p=thirdparty%2Fkernel%2Flinux.git 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 Link: https://lore.kernel.org/r/20230611203559.827168-1-u.kleine-koenig@pengutronix.de Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/rt5739.c b/drivers/regulator/rt5739.c index 74fc5bf6d87e0..0ce6a1666752c 100644 --- a/drivers/regulator/rt5739.c +++ b/drivers/regulator/rt5739.c @@ -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); diff --git a/drivers/regulator/tps6287x-regulator.c b/drivers/regulator/tps6287x-regulator.c index 870e63ce3ff24..b1c0963586ace 100644 --- a/drivers/regulator/tps6287x-regulator.c +++ b/drivers/regulator/tps6287x-regulator.c @@ -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, };