summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/adt7460.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/i2c/adt7460.c')
-rw-r--r--sys/dev/i2c/adt7460.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/i2c/adt7460.c b/sys/dev/i2c/adt7460.c
index afaeac888a8..4d50a0d5e9e 100644
--- a/sys/dev/i2c/adt7460.c
+++ b/sys/dev/i2c/adt7460.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adt7460.c,v 1.18 2007/06/24 05:34:35 dlg Exp $ */
+/* $OpenBSD: adt7460.c,v 1.19 2007/10/31 20:46:17 cnst Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
@@ -240,7 +240,6 @@ adt_attach(struct device *parent, struct device *self, void *aux)
if (worklist[i].index >= 32768 &&
sc->chip->ratio[worklist[i].index - 32768] == 0)
continue;
- sc->sc_sensor[i].flags &= ~SENSOR_FINVALID;
sensor_attach(&sc->sc_sensordev, &sc->sc_sensor[i]);
}
sensordev_install(&sc->sc_sensordev);