Commit ae7193f7 authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare

i2c: Update stray references to smbus_access

That function is actually named i2c_smbus_xfer.
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 67c2e665
...@@ -69,7 +69,7 @@ extern s32 i2c_smbus_xfer (struct i2c_adapter * adapter, u16 addr, ...@@ -69,7 +69,7 @@ extern s32 i2c_smbus_xfer (struct i2c_adapter * adapter, u16 addr,
union i2c_smbus_data * data); union i2c_smbus_data * data);
/* Now follow the 'nice' access routines. These also document the calling /* Now follow the 'nice' access routines. These also document the calling
conventions of smbus_access. */ conventions of i2c_smbus_xfer. */
extern s32 i2c_smbus_read_byte(struct i2c_client * client); extern s32 i2c_smbus_read_byte(struct i2c_client * client);
extern s32 i2c_smbus_write_byte(struct i2c_client * client, u8 value); extern s32 i2c_smbus_write_byte(struct i2c_client * client, u8 value);
...@@ -536,7 +536,7 @@ union i2c_smbus_data { ...@@ -536,7 +536,7 @@ union i2c_smbus_data {
/* and one more for user-space compatibility */ /* and one more for user-space compatibility */
}; };
/* smbus_access read or write markers */ /* i2c_smbus_xfer read or write markers */
#define I2C_SMBUS_READ 1 #define I2C_SMBUS_READ 1
#define I2C_SMBUS_WRITE 0 #define I2C_SMBUS_WRITE 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment