summaryrefslogtreecommitdiff
path: root/drivers/regulator/tps6287x-regulator.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-06-11 23:35:59 +0300
committerMark Brown <broonie@kernel.org>2023-06-12 16:51:10 +0300
commitd692cc619247addcb9336c220ea1face91b365f0 (patch)
tree1f1afc4a8bb6a7fc239fa837bfd1628fd6aba6c5 /drivers/regulator/tps6287x-regulator.c
parent2f2f43dd21f8928128c55afd386472feb679630b (diff)
downloadlinux-d692cc619247addcb9336c220ea1face91b365f0.tar.xz
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>
Diffstat (limited to 'drivers/regulator/tps6287x-regulator.c')
-rw-r--r--drivers/regulator/tps6287x-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/tps6287x-regulator.c b/drivers/regulator/tps6287x-regulator.c
index 870e63ce3ff2..b1c0963586ac 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,
};