aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/i2c')
-rw-r--r--Documentation/i2c/writing-clients10
1 files changed, 3 insertions, 7 deletions
diff --git a/Documentation/i2c/writing-clients b/Documentation/i2c/writing-clients
index 27c425ac70aa..3a057c8e5507 100644
--- a/Documentation/i2c/writing-clients
+++ b/Documentation/i2c/writing-clients
@@ -492,17 +492,13 @@ Note that some functions are marked by `__init', and some data structures
492by `__init_data'. Hose functions and structures can be removed after 492by `__init_data'. Hose functions and structures can be removed after
493kernel booting (or module loading) is completed. 493kernel booting (or module loading) is completed.
494 494
495
495Command function 496Command function
496================ 497================
497 498
498A generic ioctl-like function call back is supported. You will seldom 499A generic ioctl-like function call back is supported. You will seldom
499need this. You may even set it to NULL. 500need this, and its use is deprecated anyway, so newer design should not
500 501use it. Set it to NULL.
501 /* No commands defined */
502 int foo_command(struct i2c_client *client, unsigned int cmd, void *arg)
503 {
504 return 0;
505 }
506 502
507 503
508Sending and receiving 504Sending and receiving