diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2006-02-17 07:25:52 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2006-02-17 07:25:52 +0000 |
commit | a19add1fe614e08299a3d455cb46a5b08f97560f (patch) | |
tree | 1013f152e0fe0fa568d1aa45dd93d4ffaba68d37 /sys/dev/acpi/acpibat.c | |
parent | 06dc9cca2f3a146860c8b7c8f5c3b8441817849c (diff) |
Better comments.
Diffstat (limited to 'sys/dev/acpi/acpibat.c')
-rw-r--r-- | sys/dev/acpi/acpibat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpibat.c b/sys/dev/acpi/acpibat.c index a5ed42fe68f..109b009aaf8 100644 --- a/sys/dev/acpi/acpibat.c +++ b/sys/dev/acpi/acpibat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpibat.c,v 1.14 2006/02/17 07:09:25 marco Exp $ */ +/* $OpenBSD: acpibat.c,v 1.15 2006/02/17 07:25:51 marco Exp $ */ /* * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> * @@ -75,7 +75,6 @@ acpibat_match(struct device *parent, void *match, void *aux) return (1); } -/* XXX this is for debug only, remove later */ void acpibat_attach(struct device *parent, struct device *self, void *aux) { @@ -99,6 +98,7 @@ acpibat_attach(struct device *parent, struct device *self, void *aux) memset(sc->sens, 0, sizeof(sc->sens)); + /* XXX this is for debug only, remove later */ for (i = 0; i < 13; i++) strlcpy(sc->sens[i].device, DEVNAME(sc), sizeof(sc->sens[i].device)); @@ -149,6 +149,7 @@ acpibat_attach(struct device *parent, struct device *self, void *aux) printf(", unable to register update task\n"); } +/* XXX this is for debug only, remove later */ void acpibat_refresh(void *arg) { |