Skip to content

Commit 9c80034

Browse files
author
Wolfram Sang
committed
i2c: rephrase explanation of I2C_CLASS_DEPRECATED
Hopefully making clear that it is not needed for new drivers. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
1 parent 5871a15 commit 9c80034

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/linux/i2c.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,8 @@ i2c_unlock_adapter(struct i2c_adapter *adapter)
689689
#define I2C_CLASS_HWMON (1<<0) /* lm_sensors, ... */
690690
#define I2C_CLASS_DDC (1<<3) /* DDC bus on graphics adapters */
691691
#define I2C_CLASS_SPD (1<<7) /* Memory modules */
692-
#define I2C_CLASS_DEPRECATED (1<<8) /* Warn users that adapter will stop using classes */
692+
/* Warn users that the adapter doesn't support classes anymore */
693+
#define I2C_CLASS_DEPRECATED (1<<8)
693694

694695
/* Internal numbers to terminate lists */
695696
#define I2C_CLIENT_END 0xfffeU

0 commit comments

Comments
 (0)