Message ID | 20230824200219.9569-1-u.kleine-koenig@pengutronix.de (mailing list archive) |
---|---|
State | Accepted |
Commit | ed81cb9e05170646650359d729fb7e7afa4cb2ac |
Headers | show |
Series | ALSA: hda/tas2781: Switch back to use struct i2c_driver's .probe() | expand |
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
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);
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(-) base-commit: 5be27f1e3ec98975c18a91e220d4847d0dec9671