Skip to content

Commit ed81cb9

Browse files
Uwe Kleine-Königtiwai
authored andcommitted
ALSA: hda/tas2781: 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> Fixes: 5be27f1 ("ALSA: hda/tas2781: Add tas2781 HDA driver") Link: https://lore.kernel.org/r/20230824200219.9569-1-u.kleine-koenig@pengutronix.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent e240cff commit ed81cb9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/pci/hda/tas2781_hda_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ static struct i2c_driver tas2781_hda_i2c_driver = {
845845
.pm = &tas2781_hda_pm_ops,
846846
},
847847
.id_table = tas2781_hda_i2c_id,
848-
.probe_new = tas2781_hda_i2c_probe,
848+
.probe = tas2781_hda_i2c_probe,
849849
.remove = tas2781_hda_i2c_remove,
850850
};
851851
module_i2c_driver(tas2781_hda_i2c_driver);

0 commit comments

Comments
 (0)