diff options
Diffstat (limited to 'drivers/i2c/chips/max6875.c')
-rw-r--r-- | drivers/i2c/chips/max6875.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/i2c/chips/max6875.c b/drivers/i2c/chips/max6875.c index 31cee2d34a17..9e1aeb69abf9 100644 --- a/drivers/i2c/chips/max6875.c +++ b/drivers/i2c/chips/max6875.c | |||
@@ -171,11 +171,6 @@ static int max6875_detect(struct i2c_adapter *adapter, int address, int kind) | |||
171 | struct max6875_data *data; | 171 | struct max6875_data *data; |
172 | int err = 0; | 172 | int err = 0; |
173 | 173 | ||
174 | /* Prevent 24rf08 corruption (in case of user error) */ | ||
175 | if (kind < 0) | ||
176 | i2c_smbus_xfer(adapter, address, 0, 0, 0, | ||
177 | I2C_SMBUS_QUICK, NULL); | ||
178 | |||
179 | if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_WRITE_BYTE_DATA | 174 | if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_WRITE_BYTE_DATA |
180 | | I2C_FUNC_SMBUS_READ_BYTE)) | 175 | | I2C_FUNC_SMBUS_READ_BYTE)) |
181 | return 0; | 176 | return 0; |