Changeset 4022
- Timestamp:
- 01/07/06 18:19:24 (3 years ago)
- Files:
-
- i2c/trunk/CHANGES (modified) (2 diffs)
- i2c/trunk/doc/writing-clients (modified) (1 diff)
- i2c/trunk/kernel/i2c-dev.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
i2c/trunk/CHANGES
r4021 r4022 22 22 Iwamoto) 23 23 doc/writing-clients: New memory allocation model 24 Drop empty command implementation example 24 25 i2c-core: Fix logic error in SMBus Write Word transaction with software 25 26 PEC (Hideki Iwamoto) … … 30 31 Rewrite software PEC implementation (2.6 backport) 31 32 Improve debugging in i2c_transfer (2.6 backport) 33 i2c-dev: Drop empty command implementation (2.6 backport, Laurent Riffard) 32 34 i2c.h: Fix union i2c_smbus_data definition 33 35 Delete 2 out-of-date, colliding ioctl defines i2c/trunk/doc/writing-clients
r4011 r4022 658 658 need this. You may even set it to NULL. 659 659 660 /* No commands defined */661 int foo_command(struct i2c_client *client, unsigned int cmd, void *arg)662 {663 return 0;664 }665 666 660 667 661 Sending and receiving i2c/trunk/kernel/i2c-dev.c
r3986 r4022 89 89 .attach_adapter = i2cdev_attach_adapter, 90 90 .detach_client = i2cdev_detach_client, 91 .command = i2cdev_command,92 91 }; 93 92 … … 464 463 } 465 464 466 static int i2cdev_command(struct i2c_client *client, unsigned int cmd,467 void *arg)468 {469 return -1;470 }471 472 465 static int __init i2c_dev_init(void) 473 466 {
