summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-08-24 22:02:19 +0200
committerTakashi Iwai <tiwai@suse.de>2023-08-25 09:45:27 +0200
commited81cb9e05170646650359d729fb7e7afa4cb2ac (patch)
tree54385c926abdfb18a5e6feb8bcbf5d9b95e7fcaa /sound
parente240cff9e6e9bada3ced7e088de1d6f8088c2c3a (diff)
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: 5be27f1e3ec9 ("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>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/tas2781_hda_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/tas2781_hda_i2c.c b/sound/pci/hda/tas2781_hda_i2c.c
index aa9ce3837336..37114fd61a38 100644
--- a/sound/pci/hda/tas2781_hda_i2c.c
+++ b/sound/pci/hda/tas2781_hda_i2c.c
@@ -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);