Linux Hardware Monitor development
 help / color / mirror / Atom feed
* [PATCH 00/31] Remove use of i2c_match_id in HWMON
@ 2024-04-03 20:36 Andrew Davis
  2024-04-03 20:36 ` [PATCH 01/31] hwmon: (ad7418) Remove use of i2c_match_id() Andrew Davis
                   ` (31 more replies)
  0 siblings, 32 replies; 39+ messages in thread
From: Andrew Davis @ 2024-04-03 20:36 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, Juerg Haefliger, Riku Voipio
  Cc: linux-hwmon, linux-kernel, Andrew Davis

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(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2024-06-06 17:17 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-03 20:36 [PATCH 00/31] Remove use of i2c_match_id in HWMON Andrew Davis
2024-04-03 20:36 ` [PATCH 01/31] hwmon: (ad7418) Remove use of i2c_match_id() Andrew Davis
2024-04-03 20:36 ` [PATCH 02/31] hwmon: (adm1021) " Andrew Davis
2024-04-03 20:36 ` [PATCH 03/31] hwmon: (adm1031) " Andrew Davis
2024-04-03 20:36 ` [PATCH 04/31] hwmon: (ads7828) " Andrew Davis
2024-04-03 20:36 ` [PATCH 05/31] hwmon: (adt7475) " Andrew Davis
2024-04-03 20:36 ` [PATCH 06/31] hwmon: (aht10) " Andrew Davis
2024-04-03 20:36 ` [PATCH 07/31] hwmon: (dme1737) " Andrew Davis
2024-04-03 20:36 ` [PATCH 08/31] hwmon: (ds1621) " Andrew Davis
2024-04-03 20:36 ` [PATCH 09/31] hwmon: (f75375s) " Andrew Davis
2024-04-03 20:36 ` [PATCH 10/31] hwmon: (fschmd) " Andrew Davis
2024-04-03 20:36 ` [PATCH 11/31] hwmon: (ina2xx) " Andrew Davis
2024-04-03 20:36 ` [PATCH 12/31] hwmon: (lm63) " Andrew Davis
2024-04-03 20:36 ` [PATCH 13/31] hwmon: (lm75) " Andrew Davis
2024-04-03 20:36 ` [PATCH 14/31] hwmon: (lm78) " Andrew Davis
2024-04-03 20:36 ` [PATCH 15/31] hwmon: (lm83) " Andrew Davis
2024-04-03 20:36 ` [PATCH 16/31] hwmon: (lm85) " Andrew Davis
2024-04-03 20:36 ` [PATCH 17/31] hwmon: (lm90) " Andrew Davis
2024-04-03 20:36 ` [PATCH 18/31] hwmon: (lm95234) " Andrew Davis
2024-04-03 20:36 ` [PATCH 19/31] hwmon: (max16065) " Andrew Davis
2024-04-03 20:36 ` [PATCH 20/31] hwmon: (max1668) " Andrew Davis
2024-04-03 20:36 ` [PATCH 21/31] hwmon: (max6697) " Andrew Davis
2024-04-03 20:36 ` [PATCH 22/31] hwmon: (mcp3021) " Andrew Davis
2024-04-03 20:36 ` [PATCH 23/31] hwmon: (powr1220) " Andrew Davis
2024-04-03 20:36 ` [PATCH 24/31] hwmon: (sht3x) " Andrew Davis
2024-04-03 20:36 ` [PATCH 25/31] hwmon: (shtc1) " Andrew Davis
2024-04-03 20:36 ` [PATCH 26/31] hwmon: (thmc50) " Andrew Davis
2024-04-03 20:36 ` [PATCH 27/31] hwmon: (tmp401) " Andrew Davis
2024-04-03 20:36 ` [PATCH 28/31] hwmon: (tmp421) " Andrew Davis
2024-04-03 20:36 ` [PATCH 29/31] hwmon: (tmp464) " Andrew Davis
2024-04-03 20:36 ` [PATCH 30/31] hwmon: (w83781d) " Andrew Davis
2024-04-03 20:36 ` [PATCH 31/31] hwmon: (w83795): " Andrew Davis
2024-04-03 21:30 ` [PATCH 00/31] Remove use of i2c_match_id in HWMON Guenter Roeck
2024-04-03 22:06   ` Andrew Davis
2024-04-08 11:49     ` Guenter Roeck
2024-04-16 14:16       ` Guenter Roeck
2024-04-16 17:08         ` Andrew Davis
2024-04-18 13:42           ` Guenter Roeck
2024-06-06 17:17             ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox