diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-06-30 17:49:55 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-07-14 19:33:11 -0400 |
commit | f716fc2ac037c45a6c641eb9f20ec602e8d04e14 (patch) | |
tree | 4820156d8baee8a5428bb3190bf1032d53df98d2 | |
parent | 59401ccce8729e5c43f9781cc5570da5ca470e27 (diff) |
ACPI: Drop ACPI bus notifier call chain
There are no users of the ACPI bus notifier call chain,
acpi_bus_notify_list, any more, so drop it.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/acpi/bus.c | 16 | ||||
-rw-r--r-- | include/acpi/acpi_bus.h | 2 |
2 files changed, 0 insertions, 18 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index a5a032e2344e..6fd27a9abcda 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c | |||
@@ -499,19 +499,6 @@ static void acpi_bus_check_scope(acpi_handle handle) | |||
499 | */ | 499 | */ |
500 | } | 500 | } |
501 | 501 | ||
502 | static BLOCKING_NOTIFIER_HEAD(acpi_bus_notify_list); | ||
503 | int register_acpi_bus_notifier(struct notifier_block *nb) | ||
504 | { | ||
505 | return blocking_notifier_chain_register(&acpi_bus_notify_list, nb); | ||
506 | } | ||
507 | EXPORT_SYMBOL_GPL(register_acpi_bus_notifier); | ||
508 | |||
509 | void unregister_acpi_bus_notifier(struct notifier_block *nb) | ||
510 | { | ||
511 | blocking_notifier_chain_unregister(&acpi_bus_notify_list, nb); | ||
512 | } | ||
513 | EXPORT_SYMBOL_GPL(unregister_acpi_bus_notifier); | ||
514 | |||
515 | /** | 502 | /** |
516 | * acpi_bus_notify | 503 | * acpi_bus_notify |
517 | * --------------- | 504 | * --------------- |
@@ -525,9 +512,6 @@ static void acpi_bus_notify(acpi_handle handle, u32 type, void *data) | |||
525 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Notification %#02x to handle %p\n", | 512 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Notification %#02x to handle %p\n", |
526 | type, handle)); | 513 | type, handle)); |
527 | 514 | ||
528 | blocking_notifier_call_chain(&acpi_bus_notify_list, | ||
529 | type, (void *)handle); | ||
530 | |||
531 | switch (type) { | 515 | switch (type) { |
532 | 516 | ||
533 | case ACPI_NOTIFY_BUS_CHECK: | 517 | case ACPI_NOTIFY_BUS_CHECK: |
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index facc0ba6dd21..71f3fd429fd1 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
@@ -366,8 +366,6 @@ extern int acpi_notifier_call_chain(struct acpi_device *, u32, u32); | |||
366 | extern int register_acpi_notifier(struct notifier_block *); | 366 | extern int register_acpi_notifier(struct notifier_block *); |
367 | extern int unregister_acpi_notifier(struct notifier_block *); | 367 | extern int unregister_acpi_notifier(struct notifier_block *); |
368 | 368 | ||
369 | extern int register_acpi_bus_notifier(struct notifier_block *nb); | ||
370 | extern void unregister_acpi_bus_notifier(struct notifier_block *nb); | ||
371 | /* | 369 | /* |
372 | * External Functions | 370 | * External Functions |
373 | */ | 371 | */ |