Changeset 3477

Show
Ignore:
Timestamp:
07/03/00 19:32:08 (8 years ago)
Author:
frodo
Message:

Stupid typo in i2c_check_functionality example fixed (forgot

a negation).

Files:

Legend:

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

    r3422 r3477  
    396396       Please substitute the things you need here!  
    397397       For `sensors' drivers, add `! is_isa &&' to the if statement */ 
    398     if (i2c_check_functionality(adapter,I2C_FUNC_SMBUS_WORD_DATA | 
     398    if (!i2c_check_functionality(adapter,I2C_FUNC_SMBUS_WORD_DATA | 
    399399                                        I2C_FUNC_SMBUS_WRITE_BYTE)) 
    400400       goto ERROR0;