lkml.org 
[lkml]   [2024]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 00/31] Remove use of i2c_match_id in HWMON
Date
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


\
 
 \ /
  Last update: 2024-05-27 16:22    [W:0.123 / U:0.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site