aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm85.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/lm85.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/lm85.c')
-rw-r--r--drivers/hwmon/lm85.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/hwmon/lm85.c b/drivers/hwmon/lm85.c
index 8954d64614ff..5f051c023236 100644
--- a/drivers/hwmon/lm85.c
+++ b/drivers/hwmon/lm85.c
@@ -1033,11 +1033,6 @@ int lm85_detect(struct i2c_adapter *adapter, int address,
1033 int err = 0; 1033 int err = 0;
1034 const char *type_name = ""; 1034 const char *type_name = "";
1035 1035
1036 if (i2c_is_isa_adapter(adapter)) {
1037 /* This chip has no ISA interface */
1038 goto ERROR0 ;
1039 };
1040
1041 if (!i2c_check_functionality(adapter, 1036 if (!i2c_check_functionality(adapter,
1042 I2C_FUNC_SMBUS_BYTE_DATA)) { 1037 I2C_FUNC_SMBUS_BYTE_DATA)) {
1043 /* We need to be able to do byte I/O */ 1038 /* We need to be able to do byte I/O */