i2c: i801: Remove usage of I2C_CLASS_SPD
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 15 Apr 2024 20:47:55 +0000 (22:47 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Sun, 5 May 2024 22:56:13 +0000 (00:56 +0200)
commit780868fc480ee8e89e8db89c7946716cc75a36e9
tree13f4de7e6dab42715e1d0913d56742574e1d0bbb
parent864d1d83879b238f0c89963bfe9e28594da214ec
i2c: i801: Remove usage of I2C_CLASS_SPD

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 893fef0bc6aa ("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.
Therefore I2C_CLASS_SPD class-based instantiation isn't needed any longer
in this driver, so remove it.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-i801.c