Commit edff54ac authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Mark Brown

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: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230814210759.26395-1-u.kleine-koenig@pengutronix.deSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent c4189205
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment