diff options
author | njl <njl@FreeBSD.org> | 2004-07-16 19:05:40 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-07-16 19:05:40 +0000 |
commit | ebf6efd74921d45bdb1cc581a0e208aa060996bc (patch) | |
tree | a0fb957d47fbd426ea96f074a2ffb3402642b4ac /sys/dev/acpica/acpi_cmbat.c | |
parent | 966f8768ba3c0ecd73d2a7478573560353010246 (diff) | |
download | FreeBSD-src-ebf6efd74921d45bdb1cc581a0e208aa060996bc.zip FreeBSD-src-ebf6efd74921d45bdb1cc581a0e208aa060996bc.tar.gz |
Use ACPI_ALL_NOTIFY instead of registering handlers separately.
Diffstat (limited to 'sys/dev/acpica/acpi_cmbat.c')
-rw-r--r-- | sys/dev/acpica/acpi_cmbat.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/acpica/acpi_cmbat.c b/sys/dev/acpica/acpi_cmbat.c index bf859e8..362d0a1 100644 --- a/sys/dev/acpica/acpi_cmbat.c +++ b/sys/dev/acpica/acpi_cmbat.c @@ -320,9 +320,7 @@ acpi_cmbat_attach(device_t dev) * Install a system notify handler in addition to the device notify. * Toshiba notebook uses this alternate notify for its battery. */ - AcpiInstallNotifyHandler(handle, ACPI_SYSTEM_NOTIFY, - acpi_cmbat_notify_handler, dev); - AcpiInstallNotifyHandler(handle, ACPI_DEVICE_NOTIFY, + AcpiInstallNotifyHandler(handle, ACPI_ALL_NOTIFY, acpi_cmbat_notify_handler, dev); sc->bif_updating = sc->bst_updating = 0; |