Stephen Kitt
dd43193976
hwmon (pmbus) use simple i2c probe function
...
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 as-is; drivers which did
are modified as follows:
* if the information in i2c_client is sufficient, that's used instead
(client->name);
* configured v. probed comparisons are performed by comparing the
configured name to the detected name, instead of the ids; this
involves strcmp but is still cheaper than comparing all the device
names when scanning the tables;
* anything else is handled by calling i2c_match_id() with the same
level of error-handling (if any) as before.
Additionally, the mismatch message in the ltc2978 driver is adjusted
so that it no longer assumes that the driver_data is an index into
ltc2978_id.
Signed-off-by: Stephen Kitt <steve@sk2.org >
Acked-by: Wolfram Sang <wsa@kernel.org >
Link: https://lore.kernel.org/r/20200808210004.30880-1-steve@sk2.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2020-09-23 09:42:39 -07:00
..
2019-04-17 10:37:23 -07:00
2020-08-24 17:19:07 -06:00
2020-08-24 17:19:07 -06:00
2020-08-24 17:19:07 -06:00
2019-04-17 10:37:23 -07:00
2020-07-27 14:11:22 +02:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2019-07-31 13:25:27 -06:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2020-02-23 20:00:29 -08:00
2020-07-24 07:44:57 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2020-05-22 06:28:39 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2020-04-22 12:14:18 -07:00
2019-11-06 14:37:19 -08:00
2020-05-28 07:59:45 -07:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-11-22 20:47:43 -08:00
2019-04-17 10:37:23 -07:00
2020-09-23 09:42:39 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2020-05-20 10:29:17 +01:00
2019-07-31 13:25:27 -06:00
2019-04-17 10:37:23 -07:00
2019-07-31 13:25:27 -06:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2019-10-29 04:43:29 -06:00
2019-04-17 10:37:23 -07:00
2019-04-22 15:27:27 -07:00
2020-04-12 15:12:51 -07:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2020-03-08 20:35:46 -07:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2019-04-22 15:27:27 -07:00
2019-04-17 10:37:23 -07:00
2019-11-06 14:37:19 -08:00
2020-07-24 07:44:57 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-07-31 13:25:27 -06:00
2019-04-17 10:37:23 -07:00
2019-07-31 13:25:27 -06:00
2019-07-31 13:25:27 -06:00
2019-07-31 13:25:27 -06:00
2020-05-22 06:28:38 -07:00
2020-07-24 07:44:18 -07:00
2020-07-24 07:44:57 -07:00
2019-04-17 10:37:23 -07:00
2020-01-23 13:15:09 -08:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-07-31 13:25:27 -06:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-07-31 13:25:27 -06:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-09-03 12:47:17 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-07-31 13:25:27 -06:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2019-09-13 05:43:06 -07:00
2020-09-23 09:42:39 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2019-04-17 10:37:23 -07:00
2020-01-23 13:15:09 -08:00
2019-07-31 13:25:27 -06:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-07-31 13:25:27 -06:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2020-07-24 07:44:57 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2020-07-24 07:44:57 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2019-04-17 10:37:23 -07:00
2020-02-17 14:20:55 -08:00
2019-04-17 10:37:23 -07:00
2019-07-31 13:25:27 -06:00