1

regulator: raa215300: Switch back to use struct i2c_driver::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/20230626091544.557403-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Uwe Kleine-König 2023-06-26 11:15:44 +02:00 committed by Mark Brown
parent 42a95739c5
commit 741da3f604
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -182,7 +182,7 @@ static struct i2c_driver raa215300_i2c_driver = {
.name = "raa215300",
.of_match_table = raa215300_dt_match,
},
.probe_new = raa215300_i2c_probe,
.probe = raa215300_i2c_probe,
};
module_i2c_driver(raa215300_i2c_driver);