diff options
Diffstat (limited to 'drivers/hwmon/lm75.c')
-rw-r--r-- | drivers/hwmon/lm75.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c index 54dda7d11ace..a2bebb6b37a6 100644 --- a/drivers/hwmon/lm75.c +++ b/drivers/hwmon/lm75.c | |||
@@ -121,16 +121,6 @@ static int lm75_detect(struct i2c_adapter *adapter, int address, int kind) | |||
121 | int err = 0; | 121 | int err = 0; |
122 | const char *name = ""; | 122 | const char *name = ""; |
123 | 123 | ||
124 | /* Make sure we aren't probing the ISA bus!! This is just a safety check | ||
125 | at this moment; i2c_detect really won't call us. */ | ||
126 | #ifdef DEBUG | ||
127 | if (i2c_is_isa_adapter(adapter)) { | ||
128 | dev_dbg(&adapter->dev, | ||
129 | "lm75_detect called for an ISA bus adapter?!?\n"); | ||
130 | goto exit; | ||
131 | } | ||
132 | #endif | ||
133 | |||
134 | if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA | | 124 | if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA | |
135 | I2C_FUNC_SMBUS_WORD_DATA)) | 125 | I2C_FUNC_SMBUS_WORD_DATA)) |
136 | goto exit; | 126 | goto exit; |