On Mon, 14 Nov 2022 20:53:20 +0100 Wolfram Sang <wsa@xxxxxxxxxx> wrote: > On Sun, Nov 13, 2022 at 06:46:30PM +0100, Angel Iglesias wrote: > > Introduces new helper function to aid in .probe_new() refactors. In order > > to use existing i2c_get_device_id() on the probe callback, the device > > match table needs to be accessible in that function, which would require > > bigger refactors in some drivers using the deprecated .probe callback. > > > > This issue was discussed in more detail in the IIO mailing list. > > > > Link: https://lore.kernel.org/all/20221023132302.911644-11-u.kleine-koenig@xxxxxxxxxxxxxx/ > > Suggested-by: Nuno Sá <noname.nuno@xxxxxxxxx> > > Suggested-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > > Suggested-by: Jonathan Cameron <jic23@xxxxxxxxxx> > > Signed-off-by: Angel Iglesias <ang.iglesiasg@xxxxxxxxx> > > Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > > Immutable branch here: > > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/client_device_id_helper-immutable > > I merged this branch also into i2c/for-mergewindow. > > Thank you, everyone! > Excellent. Merged that into iio.git/togreg and applied patch 2. Thanks, Jonathan