aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adm1021.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-07-19 18:05:33 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-05 12:14:12 -0400
commit02ff982c6911de1484e13a1d765d7bd31a0f8fee (patch)
tree94e8c388df0de6561da7f10840f4e87dead18724 /drivers/hwmon/adm1021.c
parent5071860aba7fc69279ab822638ed2c2e4549f9fd (diff)
[PATCH] I2C: Separate non-i2c hwmon drivers from i2c-core (8/9)
Kill all uses of i2c_is_isa_adapter except for the hybrid drivers (it87, lm78, w83781d). The i2c-isa adapter not being registered with the i2c core anymore, drivers don't have to fear being erroneously attached to it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hwmon/adm1021.c')
-rw-r--r--drivers/hwmon/adm1021.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/hwmon/adm1021.c b/drivers/hwmon/adm1021.c
index 093d09cc4c14..2a341390d92e 100644
--- a/drivers/hwmon/adm1021.c
+++ b/drivers/hwmon/adm1021.c
@@ -198,15 +198,6 @@ static int adm1021_detect(struct i2c_adapter *adapter, int address, int kind)
198 int err = 0; 198 int err = 0;
199 const char *type_name = ""; 199 const char *type_name = "";
200 200
201 /* Make sure we aren't probing the ISA bus!! This is just a safety check
202 at this moment; i2c_detect really won't call us. */
203#ifdef DEBUG
204 if (i2c_is_isa_adapter(adapter)) {
205 dev_dbg(&adapter->dev, "adm1021_detect called for an ISA bus adapter?!?\n");
206 return 0;
207 }
208#endif
209
210 if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA)) 201 if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA))
211 goto error0; 202 goto error0;
212 203