patch-2.3.36 linux/Documentation/i2c/writing-clients

Next file: linux/Documentation/parport.txt
Previous file: linux/Documentation/Configure.help
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.35/linux/Documentation/i2c/writing-clients linux/Documentation/i2c/writing-clients
@@ -356,7 +356,8 @@
 
 The i2c_probe or sensors_detect function will call the foo_detect_client
 function only for those i2c addresses that actually have a device on
-them (unless a `force' parameter was used).
+them (unless a `force' parameter was used). In addition, addresses that
+are already in use (by some other registered client) are skipped.
 
 
 The detect client function
@@ -666,12 +667,6 @@
   {
     return 0;
   }
-
-You should never directly call this function, but instead use the 
-general function below:
-
-  extern int i2c_control(struct i2c_client *,unsigned int, unsigned long);
-
 
 
 Sending and receiving

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)