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:
parent
c418920567
commit
edff54ac96
|
@ -574,7 +574,7 @@ static struct i2c_driver rtq2208_driver = {
|
||||||
.name = "rtq2208",
|
.name = "rtq2208",
|
||||||
.of_match_table = rtq2208_device_tables,
|
.of_match_table = rtq2208_device_tables,
|
||||||
},
|
},
|
||||||
.probe_new = rtq2208_probe,
|
.probe = rtq2208_probe,
|
||||||
};
|
};
|
||||||
module_i2c_driver(rtq2208_driver);
|
module_i2c_driver(rtq2208_driver);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue