Skip to contentSkip to conversation

I2C: Outdated i2c_adapter comment

PATCH New Greg KH 1 participant 1 message Sep 5, 2005 I2C

lore
Share & tools
lore

Greg KH

author
#0 lore raw

PATCH 1/1 I2C: Outdated i2c_adapter comment

[PATCH] I2C: Outdated i2c_adapter comment

Delete an outdated comment about i2c_algorithm.id being computed from algo->id.

---
commit 020789e9cb688ac8b15a9950d25fe45492b23398
tree 71634ce861f1bed2159a9db16c83004015996e59
parent c2459cf257106cea5adbc83f084b76d0030eb700
author Jean Delvare <[email protected]> Sat, 13 Aug 2005 13:04:32 +0200 committer Greg Kroah-Hartman <[email protected]> Mon, 05 Sep 2005 09:14:33 -0700

 include/linux/i2c.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
include/linux/i2c.h +1 -2
@@ -219,8 +219,7 @@ struct i2c_algorithm {
  */
 struct i2c_adapter {
 	struct module *owner;
-	unsigned int id;/* = is algo->id | hwdep.struct->id, 		*/
-			/* for registered values see below		*/
+	unsigned int id;
 	unsigned int class;
 	struct i2c_algorithm *algo;/* the algorithm to access the bus	*/
 	void *algo_data;