Re: [PATCH v5] hwmon/pmbus: use simple i2c probe function

2020-08-10 Thread Guenter Roeck
On Sat, Aug 08, 2020 at 11:00:04PM +0200, Stephen Kitt wrote: > pmbus_do_probe doesn't use the id information provided in its second > argument, so this can be removed, which then allows using the > single-parameter i2c probe function ("probe_new") for probes. > > This avoids scanning the identifi

Re: [PATCH v5] hwmon/pmbus: use simple i2c probe function

2020-08-10 Thread Wolfram Sang
On Sat, Aug 08, 2020 at 11:00:04PM +0200, Stephen Kitt wrote: > pmbus_do_probe doesn't use the id information provided in its second > argument, so this can be removed, which then allows using the > single-parameter i2c probe function ("probe_new") for probes. > > This avoids scanning the identifi

[PATCH v5] hwmon/pmbus: use simple i2c probe function

2020-08-08 Thread Stephen Kitt
pmbus_do_probe doesn't use the id information provided in its second argument, so this can be removed, which then allows using the single-parameter i2c probe function ("probe_new") for probes. This avoids scanning the identifier tables during probes. Drivers which didn't use the id are converted