summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-01-09 23:30:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-01-09 23:30:39 +0000
commite6ff670f8c63441773ac1924152a47ed58e594fa (patch)
treec74a0dd22f50cc2190754aef68f0295b1fe35e59 /sys/dev
parentd64ef5326fb80790bc0d1c6351a9da8d3faa6ed1 (diff)
damn, left a lock
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/i2c/lm75.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/i2c/lm75.c b/sys/dev/i2c/lm75.c
index 2c8968200a7..55915b9f1db 100644
--- a/sys/dev/i2c/lm75.c
+++ b/sys/dev/i2c/lm75.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lm75.c,v 1.8 2006/01/09 19:27:34 deraadt Exp $ */
+/* $OpenBSD: lm75.c,v 1.9 2006/01/09 23:30:38 deraadt Exp $ */
/* $NetBSD: lm75.c,v 1.1 2003/09/30 00:35:31 thorpej Exp $ */
/*
* Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
@@ -117,8 +117,6 @@ lmtemp_attach(struct device *parent, struct device *self, void *aux)
printf(": %s\n", ia->ia_name);
- iic_release_bus(sc->sc_tag, 0);
-
/* Set the configuration to defaults */
iic_acquire_bus(sc->sc_tag, 0);
if (lmtemp_config_write(sc, 0) != 0) {