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

From: Uwe Kleine-König
Date: Thu Aug 24 2023 - 16:00:30 EST


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@xxxxxxxxxxxxxx>
---
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