diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-12-04 23:49:30 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-12-04 23:49:30 +0000 |
commit | 941910c05e3347df52da1dc47df45e8be0a52156 (patch) | |
tree | d569086dfbe3271c794d7654618e70c1fba06402 /sys/dev/acpi/acpitz.c | |
parent | 78875a4ded78134f863b5d57329ceb98380d0889 (diff) |
KNF whitespace, from Brad. ok jordan@
Diffstat (limited to 'sys/dev/acpi/acpitz.c')
-rw-r--r-- | sys/dev/acpi/acpitz.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/acpi/acpitz.c b/sys/dev/acpi/acpitz.c index 51938d944a2..874b62f5480 100644 --- a/sys/dev/acpi/acpitz.c +++ b/sys/dev/acpi/acpitz.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpitz.c,v 1.32 2009/10/15 19:00:53 jordan Exp $ */ +/* $OpenBSD: acpitz.c,v 1.33 2009/12/04 23:49:29 sthen Exp $ */ /* * Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org> * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> @@ -104,7 +104,7 @@ acpitz_init(struct acpitz_softc *sc, int flag) /* Read trip points */ if (flag & ACPITZ_TRIPS) { sc->sc_psv = acpitz_getreading(sc, "_PSV"); - for (i=0; i<ACPITZ_MAX_AC; i++) { + for (i = 0; i < ACPITZ_MAX_AC; i++) { snprintf(name, sizeof(name), "_AC%d", i); sc->sc_ac[i] = acpitz_getreading(sc, name); sc->sc_ac_stat[i] = -1; @@ -119,7 +119,7 @@ acpitz_init(struct acpitz_softc *sc, int flag) acpi_getdevlist(&sc->sc_psl, sc->sc_devnode, &res, 0); aml_freevalue(&res); } - for (i=0; i<ACPITZ_MAX_AC; i++) { + for (i = 0; i < ACPITZ_MAX_AC; i++) { snprintf(name, sizeof(name), "_AL%d", i); if (!aml_evalname(sc->sc_acpi, sc->sc_devnode, name, 0, NULL, &res)) { @@ -161,7 +161,7 @@ acpitz_attach(struct device *parent, struct device *self, void *aux) sc->sc_devnode = aa->aaa_node; TAILQ_INIT(&sc->sc_psl); - for (i=0; i<ACPITZ_MAX_AC; i++) + for (i = 0; i < ACPITZ_MAX_AC; i++) TAILQ_INIT(&sc->sc_alx[i]); sc->sc_lasttmp = -1; |