On Sun, Oct 23, 2022 at 03:22:49PM +0200, Uwe Kleine-König wrote: > .probe_new() doesn't get the i2c_device_id * parameter, so determine > that explicitly in .probe(). The device_id array has to move up for that > to work. ... > +static const struct i2c_device_id kxcjk1013_id[] = { > + {"kxcjk1013", KXCJK1013}, > + {"kxcj91008", KXCJ91008}, > + {"kxtj21009", KXTJ21009}, > + {"kxtf9", KXTF9}, > + {"kx023-1025", KX0231025}, > + {"SMO8500", KXCJ91008}, > + {} > +}; > +MODULE_DEVICE_TABLE(i2c, kxcjk1013_id); I don't like this part. Can we, please, find a way how to dereference this table via struct i2c_client, please? -- With Best Regards, Andy Shevchenko