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 --- Hello,
this driver was introduced in next-20230821. As I plan to drop .probe_new in next after v6.6-rc1, it would be great if this patch made it in until then, too.
Thanks Uwe
sound/pci/hda/tas2781_hda_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/hda/tas2781_hda_i2c.c b/sound/pci/hda/tas2781_hda_i2c.c index 35dafc4aec4f..cf62a87563ea 100644 --- a/sound/pci/hda/tas2781_hda_i2c.c +++ b/sound/pci/hda/tas2781_hda_i2c.c @@ -847,7 +847,7 @@ static struct i2c_driver tas2781_hda_i2c_driver = { .pm = &tas2781_hda_pm_ops, }, .id_table = tas2781_hda_i2c_id, - .probe_new = tas2781_hda_i2c_probe, + .probe = tas2781_hda_i2c_probe, .remove = tas2781_hda_i2c_remove, }; module_i2c_driver(tas2781_hda_i2c_driver);
base-commit: 5be27f1e3ec98975c18a91e220d4847d0dec9671