regulator: rtq2208: 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/20230814210759.26395-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-14 23:07:59 +02:00 committed by Mark Brown
parent c418920567
commit edff54ac96
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 1 additions and 1 deletions

View File

@ -574,7 +574,7 @@ static struct i2c_driver rtq2208_driver = {
.name = "rtq2208",
.of_match_table = rtq2208_device_tables,
},
.probe_new = rtq2208_probe,
.probe = rtq2208_probe,
};
module_i2c_driver(rtq2208_driver);