regulator: Switch two more i2c drivers back to use .probe()
Commit Message
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>
---
drivers/regulator/rt5739.c | 2 +-
drivers/regulator/tps6287x-regulator.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
base-commit: 53ab6975c12d1ad86c599a8927e8c698b144d669
Comments
On Sun, 11 Jun 2023 22:35:59 +0200, Uwe Kleine-König wrote:
> 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.
>
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
Thanks!
[1/1] regulator: Switch two more i2c drivers back to use .probe()
commit: d692cc619247addcb9336c220ea1face91b365f0
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
@@ -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,
};