Skip to content

Commit

Permalink
[PATCH] i2c: Documentation update
Browse files Browse the repository at this point in the history
Update the i2c documentation to reflect the recent change to
i2c_add_driver.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jean Delvare authored and Greg Kroah-Hartman committed Jan 6, 2006
1 parent 2b48716 commit d82c0bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Documentation/i2c/porting-clients
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,8 @@ Technical changes:
* [Driver] The flags field of the i2c_driver structure is gone.
I2C_DF_NOTIFY is now the default behavior.
The i2c_driver structure has a driver member, which is itself a
structure, those owner and name members should be initialized to
THIS_MODULE and a driver name string, respectively. i2c_driver
itself has no name member anymore.
structure, those name member should be initialized to a driver name
string. i2c_driver itself has no name member anymore.

Coding policy:

Expand Down
1 change: 0 additions & 1 deletion Documentation/i2c/writing-clients
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ address.

static struct i2c_driver foo_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "foo",
},
.attach_adapter = &foo_attach_adapter,
Expand Down

0 comments on commit d82c0bf

Please sign in to comment.