diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-10-26 21:31:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 14:02:14 -0700 |
commit | 585b3160f8212e58325bc1c0292c2ec01ac5db84 (patch) | |
tree | 368c38952dc1ee6b514266f6b25a285d6bc5d98c /drivers/i2c/busses/i2c-nforce2.c | |
parent | 421ef47be20c5454b12ae0ec918d5073a9d2b938 (diff) | |
download | linux-585b3160f8212e58325bc1c0292c2ec01ac5db84.tar.gz linux-585b3160f8212e58325bc1c0292c2ec01ac5db84.tar.bz2 linux-585b3160f8212e58325bc1c0292c2ec01ac5db84.zip |
[PATCH] i2c: SMBus PEC support rewrite, 3 of 3
The new SMBus PEC implementation doesn't support PEC emulation on
non-PEC non-I2C SMBus masters, so we can drop all related code.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-nforce2.c')
-rw-r--r-- | drivers/i2c/busses/i2c-nforce2.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/i2c/busses/i2c-nforce2.c b/drivers/i2c/busses/i2c-nforce2.c index 9b4247610815..fd26036e68a3 100644 --- a/drivers/i2c/busses/i2c-nforce2.c +++ b/drivers/i2c/busses/i2c-nforce2.c @@ -188,13 +188,6 @@ static s32 nforce2_access(struct i2c_adapter * adap, u16 addr, dev_err(&adap->dev, "I2C_SMBUS_BLOCK_PROC_CALL not supported!\n"); return -1; - case I2C_SMBUS_WORD_DATA_PEC: - case I2C_SMBUS_BLOCK_DATA_PEC: - case I2C_SMBUS_PROC_CALL_PEC: - case I2C_SMBUS_BLOCK_PROC_CALL_PEC: - dev_err(&adap->dev, "Unexpected software PEC transaction %d\n.", size); - return -1; - default: dev_err(&adap->dev, "Unsupported transaction %d\n", size); return -1; |