[PATCH] regulator: aw37503: Switch back to use struct i2c_driver's .probe()

Uwe Kleine-König posted 1 patch 2 years, 3 months ago
drivers/regulator/aw37503-regulator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] regulator: aw37503: Switch back to use struct i2c_driver's .probe()
Posted by Uwe Kleine-König 2 years, 3 months ago
struct i2c_driver::probe_new is about to go away. Switch the driver to
use the probe callback with the same prototype.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
Hello,

yet another new regulator driver using .probe_new() introduced in
next-20230823.

Best regards
Uwe

 drivers/regulator/aw37503-regulator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/aw37503-regulator.c b/drivers/regulator/aw37503-regulator.c
index e01ef6ad3eb8..a5ff6dfd29b5 100644
--- a/drivers/regulator/aw37503-regulator.c
+++ b/drivers/regulator/aw37503-regulator.c
@@ -229,7 +229,7 @@ static struct i2c_driver aw37503_i2c_driver = {
 		.name = "aw37503",
 		.of_match_table = aw37503_of_match,
 	},
-	.probe_new = aw37503_probe,
+	.probe = aw37503_probe,
 	.id_table = aw37503_id,
 };
 

base-commit: 2796a01cdf2c639e605088c53a1ac36923ade93c
-- 
2.40.1

Re: [PATCH] regulator: aw37503: Switch back to use struct i2c_driver's .probe()
Posted by Mark Brown 2 years, 3 months ago
On Thu, 24 Aug 2023 21:56:17 +0200, Uwe Kleine-König wrote:
> struct i2c_driver::probe_new is about to go away. Switch the driver to
> use the probe callback with the same prototype.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[1/1] regulator: aw37503: Switch back to use struct i2c_driver's .probe()
      commit: 21cc7f816c670423a9dae06ad7de5fbc40da97c7

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