]> Pileus Git - ~andy/linux/commitdiff
Documentation: i2c: Remove obsolete example
authorHelia Correia <helia.correia@linux.intel.com>
Thu, 28 Nov 2013 15:02:41 +0000 (16:02 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 9 Jan 2014 22:02:46 +0000 (23:02 +0100)
Documentation/i2c/fault-codes illustrates EINVAL error code
as follows:

"One example would be a driver trying an SMBus Block Write
with block size outside the range of 1-32 bytes."

However, the actual implementation of i2c subsystem truncates
data length to be 32 bytes.
Hence this example cannot happen anymore, and since it's obsolete,
let's simply remove it from Documentation/i2c/fault-codes.

Signed-off-by: Helia Correia <helia.correia@intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/i2c/fault-codes

index 045765c0b9b595f910aa9e8cf753945de8cfedfb..47c25abb7d525554431177e80d3bf91dd1790d6c 100644 (file)
@@ -64,9 +64,6 @@ EINVAL
        detected before any I/O operation was started.  Use a more
        specific fault code when you can.
 
-       One example would be a driver trying an SMBus Block Write
-       with block size outside the range of 1-32 bytes.
-
 EIO
        This rather vague error means something went wrong when
        performing an I/O operation.  Use a more specific fault