diff options
author | takawata <takawata@FreeBSD.org> | 2007-10-25 20:02:38 +0000 |
---|---|---|
committer | takawata <takawata@FreeBSD.org> | 2007-10-25 20:02:38 +0000 |
commit | 8efeec02d91d89674af93b482df58ea3ebe49b89 (patch) | |
tree | 506fbac4fc2be170a9f96b266445464e1a24a4eb /sys/dev/acpica | |
parent | 672f4a5d6c97245fd3c101614e894c3bd51255eb (diff) | |
download | FreeBSD-src-8efeec02d91d89674af93b482df58ea3ebe49b89.zip FreeBSD-src-8efeec02d91d89674af93b482df58ea3ebe49b89.tar.gz |
More style nit.
Pointed out by: njl.
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r-- | sys/dev/acpica/acpi_ec.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/acpica/acpi_ec.c b/sys/dev/acpica/acpi_ec.c index 5f0a021..86fb4b9 100644 --- a/sys/dev/acpica/acpi_ec.c +++ b/sys/dev/acpica/acpi_ec.c @@ -468,7 +468,7 @@ acpi_ec_attach(device_t dev) sc->ec_gpebit = params->gpe_bit; sc->ec_gpehandle = params->gpe_handle; sc->ec_uid = params->uid; - sc->ec_suspending = 0; + sc->ec_suspending = FALSE; free(params, M_TEMP); /* Attach bus resources for data and command/status ports. */ @@ -553,22 +553,19 @@ acpi_ec_suspend(device_t dev) { struct acpi_ec_softc *sc; - /* Disable the GPE so we don't get EC events during shutdown. */ sc = device_get_softc(dev); - sc->ec_suspending = 1; + sc->ec_suspending = TRUE; return (0); } - static int acpi_ec_resume(device_t dev) { struct acpi_ec_softc *sc; - /* Disable the GPE so we don't get EC events during shutdown. */ sc = device_get_softc(dev); - sc->ec_suspending = 0; + sc->ec_suspending = FALSE; return (0); } |