Index: /i2c/trunk/kernel/i2c-dev.c
===================================================================
--- /i2c/trunk/kernel/i2c-dev.c	(revision 3986)
+++ /i2c/trunk/kernel/i2c-dev.c	(revision 4022)
@@ -89,5 +89,4 @@
 	.attach_adapter	= i2cdev_attach_adapter,
 	.detach_client	= i2cdev_detach_client,
-	.command	= i2cdev_command,
 };
 
@@ -464,10 +463,4 @@
 }
 
-static int i2cdev_command(struct i2c_client *client, unsigned int cmd,
-                           void *arg)
-{
-	return -1;
-}
-
 static int __init i2c_dev_init(void)
 {
Index: /i2c/trunk/doc/writing-clients
===================================================================
--- /i2c/trunk/doc/writing-clients	(revision 4011)
+++ /i2c/trunk/doc/writing-clients	(revision 4022)
@@ -658,10 +658,4 @@
 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;
-  }
-
 
 Sending and receiving
Index: /i2c/trunk/CHANGES
===================================================================
--- /i2c/trunk/CHANGES	(revision 4021)
+++ /i2c/trunk/CHANGES	(revision 4022)
@@ -22,4 +22,5 @@
                      Iwamoto)
   doc/writing-clients: New memory allocation model
+                       Drop empty command implementation example
   i2c-core: Fix logic error in SMBus Write Word transaction with software
             PEC (Hideki Iwamoto)
@@ -30,4 +31,5 @@
             Rewrite software PEC implementation (2.6 backport)
             Improve debugging in i2c_transfer (2.6 backport)
+  i2c-dev: Drop empty command implementation (2.6 backport, Laurent Riffard)
   i2c.h: Fix union i2c_smbus_data definition
          Delete 2 out-of-date, colliding ioctl defines
