]> Git Repo - linux.git/commitdiff
include/linux/i2c.h: remove I2C_CLASS_DDC support
authorHeiner Kallweit <[email protected]>
Thu, 23 Nov 2023 09:40:40 +0000 (10:40 +0100)
committerWolfram Sang <[email protected]>
Thu, 18 Jan 2024 20:10:41 +0000 (21:10 +0100)
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 <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
include/linux/i2c.h

index 0dae9db275380b16bada4327f8f02e53ff8db30f..d029aade338fd6716c7fc7889334f6995137ad87 100644 (file)
@@ -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)
This page took 0.057245 seconds and 4 git commands to generate.