Skip to content

Remove use of i2c_match_id in HWMON

Andrew Davis linux-hwmon lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest31 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/31hwmon: (ad7418) Remove use of i2c_match_id()drivers/hwmon/ad7418.c+1 -60 replies
2/31hwmon: (adm1021) Remove use of i2c_match_id()drivers/hwmon/adm1021.c+1 -30 replies
3/31hwmon: (adm1031) Remove use of i2c_match_id()drivers/hwmon/adm1031.c+1 -30 replies
4/31hwmon: (ads7828) Remove use of i2c_match_id()drivers/hwmon/ads7828.c+1 -60 replies
5/31hwmon: (adt7475) Remove use of i2c_match_id()drivers/hwmon/adt7475.c+6 -100 replies
6/31hwmon: (aht10) Remove use of i2c_match_id()drivers/hwmon/aht10.c+1 -20 replies
7/31hwmon: (dme1737) Remove use of i2c_match_id()drivers/hwmon/dme1737.c+1 -30 replies
8/31hwmon: (ds1621) Remove use of i2c_match_id()drivers/hwmon/ds1621.c+1 -30 replies
9/31hwmon: (f75375s) Remove use of i2c_match_id()drivers/hwmon/f75375s.c+20 -260 replies
10/31hwmon: (fschmd) Remove use of i2c_match_id()drivers/hwmon/fschmd.c+1 -10 replies
11/31hwmon: (ina2xx) Remove use of i2c_match_id()drivers/hwmon/ina2xx.c+1 -60 replies
12/31hwmon: (lm63) Remove use of i2c_match_id()drivers/hwmon/lm63.c+1 -40 replies
13/31hwmon: (lm75) Remove use of i2c_match_id()drivers/hwmon/lm75.c+1 -90 replies
14/31hwmon: (lm78) Remove use of i2c_match_id()drivers/hwmon/lm78.c+1 -30 replies
15/31hwmon: (lm83) Remove use of i2c_match_id()drivers/hwmon/lm83.c+8 -80 replies
16/31hwmon: (lm85) Remove use of i2c_match_id()drivers/hwmon/lm85.c+1 -60 replies
17/31hwmon: (lm90) Remove use of i2c_match_id()drivers/hwmon/lm90.c+1 -40 replies
18/31hwmon: (lm95234) Remove use of i2c_match_id()drivers/hwmon/lm95234.c+2 -30 replies
19/31hwmon: (max16065) Remove use of i2c_match_id()drivers/hwmon/max16065.c+4 -60 replies
20/31hwmon: (max1668) Remove use of i2c_match_id()drivers/hwmon/max1668.c+1 -30 replies
21/31hwmon: (max6697) Remove use of i2c_match_id()drivers/hwmon/max6697.c+1 -60 replies
22/31hwmon: (mcp3021) Remove use of i2c_match_id()drivers/hwmon/mcp3021.c+3 -30 replies
23/31hwmon: (powr1220) Remove use of i2c_match_id()drivers/hwmon/powr1220.c+3 -30 replies
24/31hwmon: (sht3x) Remove use of i2c_match_id()drivers/hwmon/sht3x.c+10 -100 replies
25/31hwmon: (shtc1) Remove use of i2c_match_id()drivers/hwmon/shtc1.c+1 -30 replies
26/31hwmon: (thmc50) Remove use of i2c_match_id()drivers/hwmon/thmc50.c+1 -30 replies
27/31hwmon: (tmp401) Remove use of i2c_match_id()drivers/hwmon/tmp401.c+1 -10 replies
28/31hwmon: (tmp421) Remove use of i2c_match_id()drivers/hwmon/tmp421.c+1 -50 replies
29/31hwmon: (tmp464) Remove use of i2c_match_id()drivers/hwmon/tmp464.c+1 -40 replies
30/31hwmon: (w83781d) Remove use of i2c_match_id()drivers/hwmon/w83781d.c+1 -30 replies
31/31hwmon: (w83795): Remove use of i2c_match_id()drivers/hwmon/w83795.c+1 -30 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/31] Remove use of i2c_match_id in HWMON

Hello all,

Goal here is to remove the i2c_match_id() function from all drivers. Using i2c_get_match_data() can simplify code and has some other benefits described in the patches.

There are not many users left in kernel, most remaining users are here in HWMON, so let's clear those out here.

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

Thanks,
Andrew

Andrew Davis (31):
hwmon: (ad7418) Remove use of i2c_match_id()
hwmon: (adm1021) Remove use of i2c_match_id()
hwmon: (adm1031) Remove use of i2c_match_id()
hwmon: (ads7828) Remove use of i2c_match_id()
hwmon: (adt7475) Remove use of i2c_match_id()
hwmon: (aht10) Remove use of i2c_match_id()
hwmon: (dme1737) Remove use of i2c_match_id()
hwmon: (ds1621) Remove use of i2c_match_id()
hwmon: (f75375s) Remove use of i2c_match_id()
hwmon: (fschmd) Remove use of i2c_match_id()
hwmon: (ina2xx) Remove use of i2c_match_id()
hwmon: (lm63) Remove use of i2c_match_id()
hwmon: (lm75) Remove use of i2c_match_id()
hwmon: (lm78) Remove use of i2c_match_id()
hwmon: (lm83) Remove use of i2c_match_id()
hwmon: (lm85) Remove use of i2c_match_id()
hwmon: (lm90) Remove use of i2c_match_id()
hwmon: (lm95234) Remove use of i2c_match_id()
hwmon: (max16065) Remove use of i2c_match_id()
hwmon: (max1668) Remove use of i2c_match_id()
hwmon: (max6697) Remove use of i2c_match_id()
hwmon: (mcp3021) Remove use of i2c_match_id()
hwmon: (powr1220) Remove use of i2c_match_id()
hwmon: (sht3x) Remove use of i2c_match_id()
hwmon: (shtc1) Remove use of i2c_match_id()
hwmon: (thmc50) Remove use of i2c_match_id()
hwmon: (tmp401) Remove use of i2c_match_id()
hwmon: (tmp421) Remove use of i2c_match_id()
hwmon: (tmp464) Remove use of i2c_match_id()
hwmon: (w83781d) Remove use of i2c_match_id()
hwmon: (w83795): Remove use of i2c_match_id()

 drivers/hwmon/ad7418.c   |  7 +-----
 drivers/hwmon/adm1021.c  |  4 +---
 drivers/hwmon/adm1031.c  |  4 +---
 drivers/hwmon/ads7828.c  |  7 +-----
 drivers/hwmon/adt7475.c  | 16 ++++++--------
 drivers/hwmon/aht10.c    |  3 +--
 drivers/hwmon/dme1737.c  |  4 +---
 drivers/hwmon/ds1621.c   |  4 +---
 drivers/hwmon/f75375s.c  | 46 +++++++++++++++++-----------------------
 drivers/hwmon/fschmd.c   |  2 +-
 drivers/hwmon/ina2xx.c   |  7 +-----
 drivers/hwmon/lm63.c     |  5 +----
 drivers/hwmon/lm75.c     | 10 +--------
 drivers/hwmon/lm78.c     |  4 +---
 drivers/hwmon/lm83.c     | 16 +++++++-------
 drivers/hwmon/lm85.c     |  7 +-----
 drivers/hwmon/lm90.c     |  5 +----
 drivers/hwmon/lm95234.c  |  5 ++---
 drivers/hwmon/max16065.c | 10 ++++-----
 drivers/hwmon/max1668.c  |  4 +---
 drivers/hwmon/max6697.c  |  7 +-----
 drivers/hwmon/mcp3021.c  |  6 +++---
 drivers/hwmon/powr1220.c |  6 +++---
 drivers/hwmon/sht3x.c    | 20 ++++++++---------
 drivers/hwmon/shtc1.c    |  4 +---
 drivers/hwmon/thmc50.c   |  4 +---
 drivers/hwmon/tmp401.c   |  2 +-
 drivers/hwmon/tmp421.c   |  6 +-----
 drivers/hwmon/tmp464.c   |  5 +----
 drivers/hwmon/w83781d.c  |  4 +---
 drivers/hwmon/w83795.c   |  4 +---
 31 files changed, 79 insertions(+), 159 deletions(-)
Signature · 1 line
2.39.2