summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2003-08-28 16:30:31 +0000
committernjl <njl@FreeBSD.org>2003-08-28 16:30:31 +0000
commit638644189eb90583431f46f5db07e2a547029547 (patch)
treebca55ea79ed1088505e6387ff61fcd84d433fd5d /sys/amd64
parentb40752df7c1dad079619a47994b285079e77cfd6 (diff)
downloadFreeBSD-src-638644189eb90583431f46f5db07e2a547029547.zip
FreeBSD-src-638644189eb90583431f46f5db07e2a547029547.tar.gz
Minor style cleanups.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/acpica/OsdEnvironment.c2
-rw-r--r--sys/amd64/acpica/acpi_machdep.c3
-rw-r--r--sys/amd64/acpica/acpi_wakeup.c1
3 files changed, 2 insertions, 4 deletions
diff --git a/sys/amd64/acpica/OsdEnvironment.c b/sys/amd64/acpica/OsdEnvironment.c
index 477363b..63216b7 100644
--- a/sys/amd64/acpica/OsdEnvironment.c
+++ b/sys/amd64/acpica/OsdEnvironment.c
@@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$");
u_long amd64_acpi_root;
SYSCTL_ULONG(_machdep, OID_AUTO, acpi_root, CTLFLAG_RD, &amd64_acpi_root, 0,
- "The physical address of the RSDP");
+ "The physical address of the RSDP");
ACPI_STATUS
AcpiOsInitialize(void)
diff --git a/sys/amd64/acpica/acpi_machdep.c b/sys/amd64/acpica/acpi_machdep.c
index 09ae3d0..1893449 100644
--- a/sys/amd64/acpica/acpi_machdep.c
+++ b/sys/amd64/acpica/acpi_machdep.c
@@ -38,9 +38,8 @@ acpi_machdep_init(device_t dev)
{
struct acpi_softc *sc;
- if ((sc = device_get_softc(dev)) == NULL) {
+ if ((sc = device_get_softc(dev)) == NULL)
return (ENXIO);
- }
acpi_install_wakeup_handler(sc);
diff --git a/sys/amd64/acpica/acpi_wakeup.c b/sys/amd64/acpica/acpi_wakeup.c
index 06cf052..a82fbcd 100644
--- a/sys/amd64/acpica/acpi_wakeup.c
+++ b/sys/amd64/acpica/acpi_wakeup.c
@@ -37,7 +37,6 @@ __FBSDID("$FreeBSD$");
int
acpi_sleep_machdep(struct acpi_softc *sc, int state)
{
-
return (0);
}
OpenPOWER on IntegriCloud