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

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
Link: https://lore.kernel.org/r/20230824195617.8888-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org
This commit is contained in:
Uwe Kleine-König 2023-08-24 21:56:17 +02:00 committed by Mark Brown
parent ed7c6a2ba6
commit 21cc7f816c
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0

View file

@ -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,
};