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

ASoC: Switch two more i2c drivers back to use .probe()

The previous conversion back to .probe() applied in commit 9abcd240
("ASoC: Switch i2c drivers back to use .probe()") was created based on
v6.3. Since then two more drivers were added which need to be convert
back in the same way before eventually .probe_new() can be dropped from
struct i2c_driver.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230612070608.836186-1-u.kleine-koenig@pengutronix.deSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 374b5453
...@@ -68,7 +68,7 @@ static struct i2c_driver cs35l56_i2c_driver = { ...@@ -68,7 +68,7 @@ static struct i2c_driver cs35l56_i2c_driver = {
.pm = &cs35l56_pm_ops_i2c_spi, .pm = &cs35l56_pm_ops_i2c_spi,
}, },
.id_table = cs35l56_id_i2c, .id_table = cs35l56_id_i2c,
.probe_new = cs35l56_i2c_probe, .probe = cs35l56_i2c_probe,
.remove = cs35l56_i2c_remove, .remove = cs35l56_i2c_remove,
}; };
......
...@@ -439,7 +439,7 @@ static struct i2c_driver ssm3515_i2c_driver = { ...@@ -439,7 +439,7 @@ static struct i2c_driver ssm3515_i2c_driver = {
.name = "ssm3515", .name = "ssm3515",
.of_match_table = of_match_ptr(ssm3515_of_match), .of_match_table = of_match_ptr(ssm3515_of_match),
}, },
.probe_new = ssm3515_i2c_probe, .probe = ssm3515_i2c_probe,
}; };
module_i2c_driver(ssm3515_i2c_driver); module_i2c_driver(ssm3515_i2c_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