* [PATCH] i2c: rephrase explanation of I2C_CLASS_DEPRECATED
@ 2017-07-29 12:11 Wolfram Sang
2017-07-31 15:34 ` Wolfram Sang
0 siblings, 1 reply; 2+ messages in thread
From: Wolfram Sang @ 2017-07-29 12:11 UTC (permalink / raw)
To: linux-i2c; +Cc: Sebastian Reichel, Wolfram Sang
Hopefully making clear that it is not needed for new drivers.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
---
Is this more undestandable?
include/linux/i2c.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 00ca5b86a753f8..d501d3956f13f0 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -689,7 +689,8 @@ i2c_unlock_adapter(struct i2c_adapter *adapter)
#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 */
-#define I2C_CLASS_DEPRECATED (1<<8) /* Warn users that adapter will stop using classes */
+/* Warn users that the adapter doesn't support classes anymore */
+#define I2C_CLASS_DEPRECATED (1<<8)
/* Internal numbers to terminate lists */
#define I2C_CLIENT_END 0xfffeU
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] i2c: rephrase explanation of I2C_CLASS_DEPRECATED
2017-07-29 12:11 [PATCH] i2c: rephrase explanation of I2C_CLASS_DEPRECATED Wolfram Sang
@ 2017-07-31 15:34 ` Wolfram Sang
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2017-07-31 15:34 UTC (permalink / raw)
To: linux-i2c; +Cc: Sebastian Reichel
[-- Attachment #1: Type: text/plain, Size: 220 bytes --]
On Sat, Jul 29, 2017 at 02:11:43PM +0200, Wolfram Sang wrote:
> Hopefully making clear that it is not needed for new drivers.
>
> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Applied to for-current, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-31 15:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-29 12:11 [PATCH] i2c: rephrase explanation of I2C_CLASS_DEPRECATED Wolfram Sang
2017-07-31 15:34 ` Wolfram Sang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.