Hi,
On Fri, Nov 18, 2022 at 11:35:34PM +0100, Uwe Kleine-König wrote:
Hello,
since commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new() call-back type") from 2016 there is a "temporary" alternative probe callback for i2c drivers.
This series completes all drivers to this new callback (unless I missed something). It's based on current next/master. A part of the patches depend on commit 662233731d66 ("i2c: core: Introduce i2c_client_get_device_id helper function"), there is a branch that you can pull into your tree to get it:
https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/client_device_id_helper-immutable
I don't think it's feasable to apply this series in one go, so I ask the maintainers of the changed files to apply via their tree. I guess it will take a few kernel release iterations until all patch are in, but I think a single tree creates too much conflicts.
The last patch changes i2c_driver::probe, all non-converted drivers will fail to compile then. So I hope the build bots will tell me about any driver I missed to convert. This patch is obviously not for application now.
I dropped most individuals from the recipents of this mail to not challenge the mail servers and mailing list filters too much. Sorry if you had extra efforts to find this mail.
Best regards Uwe
...
power: supply: adp5061: Convert to i2c's .probe_new() power: supply: bq2415x: Convert to i2c's .probe_new() power: supply: bq24190: Convert to i2c's .probe_new() power: supply: bq24257: Convert to i2c's .probe_new() power: supply: bq24735: Convert to i2c's .probe_new() power: supply: bq2515x: Convert to i2c's .probe_new() power: supply: bq256xx: Convert to i2c's .probe_new() power: supply: bq25890: Convert to i2c's .probe_new() power: supply: bq25980: Convert to i2c's .probe_new() power: supply: bq27xxx: Convert to i2c's .probe_new() power: supply: ds2782: Convert to i2c's .probe_new() power: supply: lp8727: Convert to i2c's .probe_new() power: supply: ltc2941: Convert to i2c's .probe_new() power: supply: ltc4162-l: Convert to i2c's .probe_new() power: supply: max14656: Convert to i2c's .probe_new() power: supply: max17040: Convert to i2c's .probe_new() power: supply: max17042_battery: Convert to i2c's .probe_new() power: supply: rt5033_battery: Convert to i2c's .probe_new() power: supply: rt9455: Convert to i2c's .probe_new() power: supply: sbs: Convert to i2c's .probe_new() power: supply: sbs-manager: Convert to i2c's .probe_new() power: supply: smb347: Convert to i2c's .probe_new() power: supply: ucs1002: Convert to i2c's .probe_new() power: supply: z2_battery: Convert to i2c's .probe_new() [...]
Thanks, I queued patches 513-536 to the power-supply subsystem.
-- Sebastian