Commit ed81cb9e authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Takashi Iwai

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: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fixes: 5be27f1e ("ALSA: hda/tas2781: Add tas2781 HDA driver")
Link: https://lore.kernel.org/r/20230824200219.9569-1-u.kleine-koenig@pengutronix.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent e240cff9
......@@ -845,7 +845,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);
......
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