From ba56d17b55051e1860239f269fe25d998365620e Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sun, 18 Dec 2005 16:51:55 +0100 Subject: [PATCH] --- yaml --- r: 16710 b: refs/heads/master c: fb687d73fa7685ffeed1a6b24fadb5f4db817783 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/Documentation/i2c/writing-clients | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/[refs] b/[refs] index af97b5f75de8..d85e5240803f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d564baee2984098c73fd0e55bc5c8a890878ef3b +refs/heads/master: fb687d73fa7685ffeed1a6b24fadb5f4db817783 diff --git a/trunk/Documentation/i2c/writing-clients b/trunk/Documentation/i2c/writing-clients index 27c425ac70aa..3a057c8e5507 100644 --- a/trunk/Documentation/i2c/writing-clients +++ b/trunk/Documentation/i2c/writing-clients @@ -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