[2.6] comment in i2c.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following comment is included in i2c.h of kernel 2.6.
Since i2c_smbus_write_block_data does not return the transferred size,
this comment should be removed or should be moved before
i2c_smbus_read_i2c_block_data.


   /* Returns the number of bytes transferred */
   extern s32 i2c_smbus_write_block_data(struct i2c_client * client,
                                         u8 command, u8 length,
                                         u8 *values);
   extern s32 i2c_smbus_read_i2c_block_data(struct i2c_client * client,
                                            u8 command, u8 *values);

----
Hideki IWAMOTO  h-iwamoto at kit.hi-ho.ne.jp




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux