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:
parent
42a95739c5
commit
741da3f604
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user