Show
Ignore:
Timestamp:
01/07/06 18:19:24 (3 years ago)
Author:
khali
Message:

Drop i2c-dev's empty command implementation. This is a backport
from Linux 2.6, original patch from Laurent Riffard. Also update the
documentation not to suggest an empty implementation of command.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • i2c/trunk/doc/writing-clients

    r4011 r4022  
    658658need this. You may even set it to NULL. 
    659659 
    660   /* No commands defined */ 
    661   int foo_command(struct i2c_client *client, unsigned int cmd, void *arg) 
    662   { 
    663     return 0; 
    664   } 
    665  
    666660 
    667661Sending and receiving