[PATCH] 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 --- 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
On Thu, 24 Aug 2023 22:02:19 +0200, Uwe Kleine-König wrote:
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
Applied now, thanks.
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.
Yes, it should be gone in the next linux-next update. I completely forgot this rename, sorry for that.
Takashi
Hello Takashi,
On Fri, Aug 25, 2023 at 09:46:37AM +0200, Takashi Iwai wrote:
I completely forgot this rename, sorry for that.
No problem. I don't expect that every maintainer is aware of the pendinging conversions. I'm happy that you applied the fix in a timely manner. Thanks!
Uwe
participants (2)
-
Takashi Iwai
-
Uwe Kleine-König