Make acpi_device_install_event_handler() and
acpi_device_remove_event_handler() non-static, and export symbols. This
will allow the drivers to call them directly, instead of relying on
.notify callback.
Signed-off-by: Michal Wilczynski
---
drivers/acpi/bus.c | 59 -
include
As callback has been replaced by drivers installing their handlers in
.add it's presence is not useful anymore.
Remove .notify callback and flags variable from struct acpi_driver,
as they're not needed anymore.
Signed-off-by: Michal Wilczynski
---
include/acpi/acpi_bus.h | 3 -
By this point all drivers switched from using .notify callback to
installing event handlers on their own. Remove redundant functions
acpi_device_install_notify_handler(),
acpi_device_remove_notify_handler() and acpi_notify_device().
Signed-off-by: Michal Wilczynski
---
drivers/acpi/bus.c | 60
: Michal Wilczynski
---
drivers/acpi/bus.c | 17 -
1 file changed, 17 deletions(-)
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index cf2c2bfe29a0..6436ac4d6322 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -1089,20 +1089,6 @@ static int acpi_device_probe(struct
oving it's event handlers.
v4:
- added one commit for previously missed driver sony-laptop,
refactored return statements, added NULL check for event installer
v3:
- lkp still reported some failures for eeepc, fujitsu and
toshiba_bluetooth, fix those
v2:
- fix compilation errors for