Skip to content

Remove use of i2c_match_id in PMBUS

Andrew Davis linux-hwmon lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 3 repliesIn review
  2. v111 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Moved enum value [2/11] to prevent 0 from matching valid device
- Trimmed all commit messages to only patch relevant info

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11hwmon: (pmbus/bel-pfe) Remove use of i2c_match_id()drivers/hwmon/pmbus/bel-pfe.c+1 -40 replies
2/11hwmon: (pmbus/ibm-cffps) Remove use of i2c_match_id()drivers/hwmon/pmbus/ibm-cffps.c+3 -130 replies
3/11hwmon: (pmbus/isl68137) Remove use of i2c_match_id()drivers/hwmon/pmbus/isl68137.c+1 -30 replies
4/11hwmon: (pmbus/max20730) Remove use of i2c_match_id()drivers/hwmon/pmbus/max20730.c+1 -40 replies
5/11hwmon: (pmbus/max34440) Remove use of i2c_match_id()drivers/hwmon/pmbus/max34440.c+1 -30 replies
6/11hwmon: (pmbus) Remove use of i2c_match_id()drivers/hwmon/pmbus/pmbus.c+1 -30 replies
7/11hwmon: (pmbus/q54sj108a2) Remove use of i2c_match_id()drivers/hwmon/pmbus/q54sj108a2.c+1 -40 replies
8/11hwmon: (pmbus/tps53679) Remove use of i2c_match_id()drivers/hwmon/pmbus/tps53679.c+1 -40 replies
9/11hwmon: (pmbus/fsp-3y) Remove use of i2c_match_id()drivers/hwmon/pmbus/fsp-3y.c+6 -70 replies
10/11hwmon: (pmbus/ltc2978) Remove use of i2c_match_id()drivers/hwmon/pmbus/ltc2978.c+1 -12 replies
11/11hwmon: (pmbus/max16601) Remove use of i2c_match_id()drivers/hwmon/pmbus/max16601.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/11] Remove use of i2c_match_id in PMBUS

Hello all,

Much like we already have done for HWMON top level drivers, we are removing the i2c_match_id() function from all hwmon/pmbus/ drivers now. Using i2c_get_match_data() can simplify code and has some other benefits described in the patches.

I don't have most of this hardware, so testing is very welcome :)

Thanks,
Andrew

Changes for v2:
- Moved enum value [2/11] to prevent 0 from matching valid device
- Trimmed all commit messages to only patch relevant info

Andrew Davis (11):
hwmon: (pmbus/bel-pfe) Remove use of i2c_match_id()
hwmon: (pmbus/ibm-cffps) Remove use of i2c_match_id()
hwmon: (pmbus/isl68137) Remove use of i2c_match_id()
hwmon: (pmbus/max20730) Remove use of i2c_match_id()
hwmon: (pmbus/max34440) Remove use of i2c_match_id()
hwmon: (pmbus) Remove use of i2c_match_id()
hwmon: (pmbus/q54sj108a2) Remove use of i2c_match_id()
hwmon: (pmbus/tps53679) Remove use of i2c_match_id()
hwmon: (pmbus/fsp-3y) Remove use of i2c_match_id()
hwmon: (pmbus/ltc2978) Remove use of i2c_match_id()
hwmon: (pmbus/max16601) Remove use of i2c_match_id()

 drivers/hwmon/pmbus/bel-pfe.c    |  5 +----
 drivers/hwmon/pmbus/fsp-3y.c     | 13 ++++++-------
 drivers/hwmon/pmbus/ibm-cffps.c  | 16 +++-------------
 drivers/hwmon/pmbus/isl68137.c   |  4 +---
 drivers/hwmon/pmbus/ltc2978.c    |  2 +-
 drivers/hwmon/pmbus/max16601.c   |  2 +-
 drivers/hwmon/pmbus/max20730.c   |  5 +----
 drivers/hwmon/pmbus/max34440.c   |  4 +---
 drivers/hwmon/pmbus/pmbus.c      |  4 +---
 drivers/hwmon/pmbus/q54sj108a2.c |  5 +----
 drivers/hwmon/pmbus/tps53679.c   |  5 +----
 11 files changed, 18 insertions(+), 47 deletions(-)
Signature · 1 line
2.39.2