Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16710
b: refs/heads/master
c: fb687d7
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare authored and Greg Kroah-Hartman committed Jan 6, 2006
1 parent d126334 commit ba56d17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d564baee2984098c73fd0e55bc5c8a890878ef3b
refs/heads/master: fb687d73fa7685ffeed1a6b24fadb5f4db817783
10 changes: 3 additions & 7 deletions trunk/Documentation/i2c/writing-clients
Original file line number Diff line number Diff line change
Expand Up @@ -492,17 +492,13 @@ Note that some functions are marked by `__init', and some data structures
by `__init_data'. Hose functions and structures can be removed after
kernel booting (or module loading) is completed.


Command function
================

A generic ioctl-like function call back is supported. You will seldom
need this. You may even set it to NULL.

/* No commands defined */
int foo_command(struct i2c_client *client, unsigned int cmd, void *arg)
{
return 0;
}
need this, and its use is deprecated anyway, so newer design should not
use it. Set it to NULL.


Sending and receiving
Expand Down

0 comments on commit ba56d17

Please sign in to comment.