staging: greybus: Don't let i2c adapters declare I2C_CLASS_SPD support if they suppor...
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 24 Nov 2023 10:16:11 +0000 (11:16 +0100)
committerWolfram Sang <wsa@kernel.org>
Thu, 18 Jan 2024 20:10:41 +0000 (21:10 +0100)
commitf79ad78a25841fdde6cd589969966fb113cf1d10
tree809538987b67ec73af3b2964f4eae4f14920e502
parent8cd210d200ad00b29a8e0476ceef585bdca1d2a7
staging: greybus: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON

After removal of the legacy eeprom driver the only remaining I2C
client device driver supporting I2C_CLASS_SPD is jc42. Because this
driver also supports I2C_CLASS_HWMON, adapters don't have to
declare support for I2C_CLASS_SPD if they support I2C_CLASS_HWMON.
It's one step towards getting rid of I2C_CLASS_SPD mid-term.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/staging/greybus/i2c.c