[PATCH 0/4] i2c: Remove I2C_CLASS_SPD

Heiner Kallweit
2024-04-15T20:47:07Z

Only remaining client driver supporting I2C_CLASS_SPD is jc42. This
type of thermal sensor can be found on several DDR3/DDR4 modules.
i2c_register_spd() instantiates also such thermal sensor i2c devices.
Since 71b494e043d2 ("i2c: i801: Call i2c_register_spd for muxed child
segments") i2c_register_spd() is called also for the remaining use case,
systems with muxed SMBUS segments for SPD EEPROMs. i801 was the last
bus driver supporting I2C_CLASS_SPD.
Therefore I2C_CLASS_SPD class-based instantiation isn't needed any longer,
and we can remove it completely.

I propose to handle this series via the I2C tree.

Heiner Kallweit (4):
i2c: i801: Remove usage of I2C_CLASS_SPD
i2c: mux: gpio: remove support for class-based device instantiation
hwmon: jc42: Remove I2C_CLASS_SPD support
i2c: Remove I2C_CLASS_SPD

drivers/hwmon/jc42.c | 2 +-
drivers/i2c/busses/i2c-i801.c | 4 ----
drivers/i2c/muxes/i2c-mux-gpio.c | 3 +--
include/linux/i2c.h | 1 -
include/linux/platform_data/i2c-mux-gpio.h | 2 --
5 files changed, 2 insertions(+), 10 deletions(-)

--
2.44.0