summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2023-11-23 10:40:40 +0100
committerWolfram Sang <wsa@kernel.org>2024-01-18 21:10:41 +0100
commitb60db383e2ba64a18e49b6bef3be1ab18aa159f1 (patch)
tree9c1716d32f8c52942bae07253ed425fe6fe6e271 /include
parent754bd2fffc913e523d1b9e686e8b1fd3a70d8f7e (diff)
downloadlwn-b60db383e2ba64a18e49b6bef3be1ab18aa159f1.tar.gz
lwn-b60db383e2ba64a18e49b6bef3be1ab18aa159f1.zip
include/linux/i2c.h: remove I2C_CLASS_DDC support
After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. Class-based device auto-detection is a legacy mechanism and shouldn't be used in new code. So we can remove this class completely now. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/i2c.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 0dae9db27538..d029aade338f 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -850,7 +850,6 @@ static inline void i2c_mark_adapter_resumed(struct i2c_adapter *adap)
/* i2c adapter classes (bitmask) */
#define I2C_CLASS_HWMON (1<<0) /* lm_sensors, ... */
-#define I2C_CLASS_DDC (1<<3) /* DDC bus on graphics adapters */
#define I2C_CLASS_SPD (1<<7) /* Memory modules */
/* Warn users that the adapter doesn't support classes anymore */
#define I2C_CLASS_DEPRECATED (1<<8)